Loading widget/gtk/nsWindow.cpp +0 −12 Original line number Diff line number Diff line Loading @@ -9660,18 +9660,6 @@ void nsWindow::SetEGLNativeWindowSize( } #endif LayoutDeviceIntSize nsWindow::GetMozContainerSize() { LayoutDeviceIntSize size(0, 0); if (mContainer) { GtkAllocation allocation; gtk_widget_get_allocation(GTK_WIDGET(mContainer), &allocation); double scale = FractionalScaleFactor(); size.width = round(allocation.width * scale); size.height = round(allocation.height * scale); } return size; } nsWindow* nsWindow::GetWindow(GdkWindow* window) { return get_window_for_gdk_window(window); } Loading widget/gtk/nsWindow.h +0 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,6 @@ class nsWindow final : public nsBaseWidget { static guint32 sLastButtonPressTime; MozContainer* GetMozContainer() { return mContainer; } LayoutDeviceIntSize GetMozContainerSize(); GdkWindow* GetGdkWindow() const { return mGdkWindow; }; GdkWindow* GetToplevelGdkWindow() const; GtkWidget* GetGtkWidget() const { return mShell; } Loading Loading
widget/gtk/nsWindow.cpp +0 −12 Original line number Diff line number Diff line Loading @@ -9660,18 +9660,6 @@ void nsWindow::SetEGLNativeWindowSize( } #endif LayoutDeviceIntSize nsWindow::GetMozContainerSize() { LayoutDeviceIntSize size(0, 0); if (mContainer) { GtkAllocation allocation; gtk_widget_get_allocation(GTK_WIDGET(mContainer), &allocation); double scale = FractionalScaleFactor(); size.width = round(allocation.width * scale); size.height = round(allocation.height * scale); } return size; } nsWindow* nsWindow::GetWindow(GdkWindow* window) { return get_window_for_gdk_window(window); } Loading
widget/gtk/nsWindow.h +0 −1 Original line number Diff line number Diff line Loading @@ -274,7 +274,6 @@ class nsWindow final : public nsBaseWidget { static guint32 sLastButtonPressTime; MozContainer* GetMozContainer() { return mContainer; } LayoutDeviceIntSize GetMozContainerSize(); GdkWindow* GetGdkWindow() const { return mGdkWindow; }; GdkWindow* GetToplevelGdkWindow() const; GtkWidget* GetGtkWidget() const { return mShell; } Loading