Unreviewed, rolling out r129633 and r129757.
authorcaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 15:35:14 +0000 (15:35 +0000)
committercaseq@chromium.org <caseq@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Dec 2012 15:35:14 +0000 (15:35 +0000)
http://trac.webkit.org/changeset/129633
http://trac.webkit.org/changeset/129757
https://bugs.webkit.org/show_bug.cgi?id=97659

Causes performance regression whn inspector overlay is
displayed

* inspector/InspectorOverlay.cpp:
(WebCore::InspectorOverlay::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@137744 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/inspector/InspectorOverlay.cpp

index 33f073a..de4f252 100644 (file)
@@ -1,3 +1,16 @@
+2012-12-14  Andrey Kosyakov  <caseq@chromium.org>
+
+        Unreviewed, rolling out r129633 and r129757.
+        http://trac.webkit.org/changeset/129633
+        http://trac.webkit.org/changeset/129757
+        https://bugs.webkit.org/show_bug.cgi?id=97659
+
+        Causes performance regression whn inspector overlay is
+        displayed
+
+        * inspector/InspectorOverlay.cpp:
+        (WebCore::InspectorOverlay::paint):
+
 2012-12-14  Yury Semikhatsky  <yurys@chromium.org>
 
         Web Inspector: add data grid for exploring native heap graph
index 0a2b14a..73a147d 100644 (file)
@@ -211,13 +211,7 @@ void InspectorOverlay::paint(GraphicsContext& context)
     GraphicsContextStateSaver stateSaver(context);
     FrameView* view = overlayPage()->mainFrame()->view();
     ASSERT(!view->needsLayout());
-
-    context.beginTransparencyLayer(1);
-    context.setCompositeOperation(CompositeCopy);
-
     view->paint(&context, IntRect(0, 0, view->width(), view->height()));
-
-    context.endTransparencyLayer();
 }
 
 void InspectorOverlay::drawOutline(GraphicsContext* context, const LayoutRect& rect, const Color& color)