Title: [121142] trunk/Source/WebKit2
Revision
121142
Author
[email protected]
Date
2012-06-25 00:18:03 -0700 (Mon, 25 Jun 2012)

Log Message

[GTK] Remove unused code in LayerTreeHostGtk.
https://bugs.webkit.org/show_bug.cgi?id=89854

LayerTreeHostGtk::deviceScaleFactor() is unused and LayerTreeHost does not have
virtual float deviceScaleFactor() const;

Patch by Huang Dongsung <[email protected]> on 2012-06-25
Reviewed by Martin Robinson.

* WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
* WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
(LayerTreeHostGtk):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (121141 => 121142)


--- trunk/Source/WebKit2/ChangeLog	2012-06-25 07:02:18 UTC (rev 121141)
+++ trunk/Source/WebKit2/ChangeLog	2012-06-25 07:18:03 UTC (rev 121142)
@@ -1,3 +1,17 @@
+2012-06-25  Huang Dongsung  <[email protected]>
+
+        [GTK] Remove unused code in LayerTreeHostGtk.
+        https://bugs.webkit.org/show_bug.cgi?id=89854
+
+        LayerTreeHostGtk::deviceScaleFactor() is unused and LayerTreeHost does not have
+        virtual float deviceScaleFactor() const;
+
+        Reviewed by Martin Robinson.
+
+        * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
+        * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
+        (LayerTreeHostGtk):
+
 2012-06-24  Andreas Kling  <[email protected]>
 
         REGRESSION(r120329): Intermittent WebProcess shutdowns due to out-of-line DidReceiveEvent messages.

Modified: trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp (121141 => 121142)


--- trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp	2012-06-25 07:02:18 UTC (rev 121141)
+++ trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp	2012-06-25 07:18:03 UTC (rev 121142)
@@ -262,11 +262,6 @@
     return m_webPage->corePage()->settings()->showRepaintCounter();
 }
 
-float LayerTreeHostGtk::deviceScaleFactor() const
-{
-    return m_webPage->corePage()->deviceScaleFactor();
-}
-
 gboolean LayerTreeHostGtk::layerFlushTimerFiredCallback(LayerTreeHostGtk* layerTreeHost)
 {
     layerTreeHost->layerFlushTimerFired();

Modified: trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.h (121141 => 121142)


--- trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.h	2012-06-25 07:02:18 UTC (rev 121141)
+++ trunk/Source/WebKit2/WebProcess/WebPage/gtk/LayerTreeHostGtk.h	2012-06-25 07:18:03 UTC (rev 121142)
@@ -77,7 +77,6 @@
     virtual void paintContents(const WebCore::GraphicsLayer*, WebCore::GraphicsContext&, WebCore::GraphicsLayerPaintingPhase, const WebCore::IntRect& clipRect);
     virtual bool showDebugBorders(const WebCore::GraphicsLayer*) const;
     virtual bool showRepaintCounter(const WebCore::GraphicsLayer*) const;
-    virtual float deviceScaleFactor() const;
     virtual void didCommitChangesForLayer(const WebCore::GraphicsLayer*) const { }
 
     void createPageOverlayLayer();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to