Bug 1218552 - make GdkPointToDevicePixels() public to fix build. a=lizzard
authorKarl Tomlinson <karlt+@karlt.net>
Mon, 16 Nov 2015 00:06:00 +0100
changeset 296731 844ff2b4f267
parent 296730 294b55e22276
child 296732 7947f1e4ca76
push id5312
push usercbook@mozilla.com
push date2015-11-16 08:13 +0000
treeherdermozilla-beta@844ff2b4f267 [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();