Bug 1218552 - make GdkPointToDevicePixels() public to fix build. a=lizzard
authorKarl Tomlinson <karlt+@karlt.net>
Mon, 16 Nov 2015 00:06:00 +0100
changeset 298436 844ff2b4f2676b450346b624cacbadfcdc16b3b9
parent 298435 294b55e22276620d3fa9568545cfcfec8e69752b
child 298437 7947f1e4ca764492af738832f7d174bfb0a973b6
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerslizzard
bugs1218552
milestone43.0
Bug 1218552 - make GdkPointToDevicePixels() public to fix build. a=lizzard This was public on 44 since https://hg.mozilla.org/mozilla-central/rev/0ed4298f0cc6
widget/gtk/nsWindow.h
--- a/widget/gtk/nsWindow.h
+++ b/widget/gtk/nsWindow.h
@@ -515,17 +515,19 @@ private:
     // To GDK
     gint DevicePixelsToGdkCoordRoundUp(int pixels);
     gint DevicePixelsToGdkCoordRoundDown(int pixels);
     GdkPoint DevicePixelsToGdkPointRoundDown(nsIntPoint point);
     GdkRectangle DevicePixelsToGdkSizeRoundUp(nsIntSize pixelSize);
 
     // From GDK
     int GdkCoordToDevicePixels(gint coord);
+public:
     mozilla::LayoutDeviceIntPoint GdkPointToDevicePixels(GdkPoint point);
+private:
     mozilla::LayoutDeviceIntPoint GdkEventCoordsToDevicePixels(gdouble x, gdouble y);
     nsIntRect GdkRectToDevicePixels(GdkRectangle rect);
 };
 
 class nsChildWindow : public nsWindow {
 public:
     nsChildWindow();
     ~nsChildWindow();