summaryrefslogtreecommitdiffstats
path: root/embedding/components/windowwatcher/nsWindowWatcher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embedding/components/windowwatcher/nsWindowWatcher.cpp')
-rw-r--r--embedding/components/windowwatcher/nsWindowWatcher.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/embedding/components/windowwatcher/nsWindowWatcher.cpp b/embedding/components/windowwatcher/nsWindowWatcher.cpp
index 07872410e..e0e8b4bef 100644
--- a/embedding/components/windowwatcher/nsWindowWatcher.cpp
+++ b/embedding/components/windowwatcher/nsWindowWatcher.cpp
@@ -494,13 +494,6 @@ nsWindowWatcher::CreateChromeWindow(const nsACString& aFeatures,
return NS_ERROR_UNEXPECTED;
}
- // B2G multi-screen support. mozDisplayId is returned from the
- // "display-changed" event, it is also platform-dependent.
-#ifdef MOZ_WIDGET_GONK
- int retval = WinHasOption(aFeatures, "mozDisplayId", 0, nullptr);
- windowCreator2->SetScreenId(retval);
-#endif
-
bool cancel = false;
nsCOMPtr<nsIWebBrowserChrome> newWindowChrome;
nsresult rv =