Title: [141412] trunk/Source/WebKit2
Revision
141412
Author
commit-qu...@webkit.org
Date
2013-01-31 06:07:22 -0800 (Thu, 31 Jan 2013)

Log Message

Coordinated Graphics: view the debug border/repaint count of the non composited layer.
https://bugs.webkit.org/show_bug.cgi?id=108401

Patch by Seulgi Kim <seulgi...@company100.net> on 2013-01-31
Reviewed by Noam Rosenthal.

Make non-compositing layer draw debug border and show repaint counter
accroding to settings.

* WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
(WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (141411 => 141412)


--- trunk/Source/WebKit2/ChangeLog	2013-01-31 14:05:06 UTC (rev 141411)
+++ trunk/Source/WebKit2/ChangeLog	2013-01-31 14:07:22 UTC (rev 141412)
@@ -1,3 +1,16 @@
+2013-01-31  Seulgi Kim  <seulgi...@company100.net>
+
+        Coordinated Graphics: view the debug border/repaint count of the non composited layer.
+        https://bugs.webkit.org/show_bug.cgi?id=108401
+
+        Reviewed by Noam Rosenthal.
+
+        Make non-compositing layer draw debug border and show repaint counter
+        accroding to settings.
+
+        * WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp:
+        (WebKit::CoordinatedLayerTreeHost::CoordinatedLayerTreeHost):
+
 2013-01-31  Paweł Forysiuk  <tuxa...@o2.pl>
 
         InjectedBundle is being built even with --disable-webkit2

Modified: trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp (141411 => 141412)


--- trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp	2013-01-31 14:05:06 UTC (rev 141411)
+++ trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/CoordinatedLayerTreeHost.cpp	2013-01-31 14:07:22 UTC (rev 141412)
@@ -114,6 +114,9 @@
     m_nonCompositedContentLayer->setDrawsContent(true);
     m_nonCompositedContentLayer->setSize(m_webPage->size());
 
+    m_nonCompositedContentLayer->setShowDebugBorder(m_webPage->corePage()->settings()->showDebugBorders());
+    m_nonCompositedContentLayer->setShowRepaintCounter(m_webPage->corePage()->settings()->showRepaintCounter());
+
     m_rootLayer->addChild(m_nonCompositedContentLayer.get());
 
     CoordinatedSurface::setFactory(createCoordinatedSurface);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to