summaryrefslogtreecommitdiff
path: root/embedding
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-13 00:08:52 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-13 00:08:52 +0200
commite42946797240f4dfb3d98b610d0d53665675225c (patch)
tree220026724ceb8fbcf18bf627fde022c2d8df0e91 /embedding
parent6971bbb2277a260e398b8811be1970f8b3853357 (diff)
downloaduxp-e42946797240f4dfb3d98b610d0d53665675225c.tar.gz
Remove MOZ_WIDGET_GONK [2/2]
Tag mcp-graveyard/UXP#288
Diffstat (limited to 'embedding')
-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 07872410ef..e0e8b4bef6 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 =