diff --git a/content/base/src/nsFrameLoader.cpp b/content/base/src/nsFrameLoader.cpp index ccaa1db1130..8185185b462 100644 --- a/content/base/src/nsFrameLoader.cpp +++ b/content/base/src/nsFrameLoader.cpp @@ -1840,9 +1840,11 @@ nsFrameLoader::EnsureMessageManager() return rv; } if (mMessageManager) { +#ifdef MOZ_IPC if (ShouldUseRemoteProcess()) { mMessageManager->SetCallbackData(mRemoteWidgetCreated ? this : nsnull); } +#endif return NS_OK; }