#if 0 this section of code to see if it's causing the tinderbox orange.

This commit is contained in:
bryner%uiuc.edu 2000-04-01 20:58:39 +00:00
parent b03e94d1a3
commit fae2d5bc79

View File

@ -2678,6 +2678,7 @@ nsGfxTextControlFrame::InstallEditor()
result = mEditor->Init(mDoc, presShell, editorFlags);
if (NS_FAILED(result)) { return result; }
#if 0
nsCOMPtr<nsIPresShell> framePresShell;
mFramePresContext->GetShell(getter_AddRefs(framePresShell));
nsCOMPtr<nsIDocument> frameDocument;
@ -2690,6 +2691,7 @@ nsGfxTextControlFrame::InstallEditor()
// when the pointer is over the editor control
eDocument->SetParentDocument(frameDocument);
#endif
// set data from the text control into the editor
result = InitializeTextControl(presShell, mDoc);