mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-14 22:05:44 +00:00
#if 0 this section of code to see if it's causing the tinderbox orange.
This commit is contained in:
parent
b03e94d1a3
commit
fae2d5bc79
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user