From e16bcd08aae85a7d9c2de5a4b1c733280cb81112 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 13 May 2018 00:08:52 +0200 Subject: Remove MOZ_WIDGET_GONK [2/2] Tag #288 --- embedding/components/windowwatcher/nsWindowWatcher.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'embedding/components') 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 newWindowChrome; nsresult rv = -- cgit v1.2.3