From 4fb110bb30a38b334b74f68c1218d084d2dc6943 Mon Sep 17 00:00:00 2001 From: "peterv@propagandism.org" Date: Mon, 2 Jul 2007 06:49:39 -0700 Subject: [PATCH] Bustage fix, bug 386255 (Trunk XULRunner compile error in nsIEditingSession::MakeWindowEditable). Pending r=sicking. --- embedding/browser/activex/src/control/MozillaBrowser.cpp | 2 +- embedding/tests/wxEmbed/EditorFrame.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/embedding/browser/activex/src/control/MozillaBrowser.cpp b/embedding/browser/activex/src/control/MozillaBrowser.cpp index 05fc80d48779..b170ee71c500 100644 --- a/embedding/browser/activex/src/control/MozillaBrowser.cpp +++ b/embedding/browser/activex/src/control/MozillaBrowser.cpp @@ -1292,7 +1292,7 @@ HRESULT CMozillaBrowser::SetEditorMode(BOOL bEnabled) return E_FAIL; rv = mEditingSession->MakeWindowEditable(domWindow, "html", PR_FALSE, - PR_FALSE); + PR_TRUE, PR_FALSE); return S_OK; } diff --git a/embedding/tests/wxEmbed/EditorFrame.cpp b/embedding/tests/wxEmbed/EditorFrame.cpp index 7ef3dfb3a963..8eb273511d02 100644 --- a/embedding/tests/wxEmbed/EditorFrame.cpp +++ b/embedding/tests/wxEmbed/EditorFrame.cpp @@ -84,7 +84,8 @@ void EditorFrame::MakeEditable() nsCOMPtr editingSession = do_GetInterface(mWebBrowser); if (!editingSession) return;// NS_ERROR_FAILURE; - editingSession->MakeWindowEditable(domWindow, NULL, PR_TRUE, PR_FALSE); + editingSession->MakeWindowEditable(domWindow, NULL, PR_TRUE, PR_TRUE, + PR_FALSE); } nsresult EditorFrame::DoCommand(const char *aCommand, nsICommandParams *aCommandParams)