Title: [150656] trunk/Source/WebCore
Revision
150656
Author
commit-qu...@webkit.org
Date
2013-05-24 13:26:00 -0700 (Fri, 24 May 2013)

Log Message

[AC] Needs to be guarded by USE(ACCELERATED_COMPOSITING)
https://bugs.webkit.org/show_bug.cgi?id=116712

Patch by Seokju Kwon <seokju.k...@gmail.com> on 2013-05-24
Reviewed by Andreas Kling.

renderView is used when ACCELERATED_COMPOSITING is enabled.
So, this patch allows it to be guarded by USE(ACCELERATED_COMPOSITING).

No new tests, no behavior change.

* page/FrameView.cpp:
(WebCore::FrameView::setFrameRect):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (150655 => 150656)


--- trunk/Source/WebCore/ChangeLog	2013-05-24 20:07:02 UTC (rev 150655)
+++ trunk/Source/WebCore/ChangeLog	2013-05-24 20:26:00 UTC (rev 150656)
@@ -1,3 +1,18 @@
+2013-05-24  Seokju Kwon  <seokju.k...@gmail.com>
+
+        [AC] Needs to be guarded by USE(ACCELERATED_COMPOSITING)
+        https://bugs.webkit.org/show_bug.cgi?id=116712
+
+        Reviewed by Andreas Kling.
+
+        renderView is used when ACCELERATED_COMPOSITING is enabled.
+        So, this patch allows it to be guarded by USE(ACCELERATED_COMPOSITING).
+
+        No new tests, no behavior change.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::setFrameRect):
+
 2013-05-24  Thomas Deniau  <den...@apple.com>
 
         Add more lines to the context during Dictionary lookups

Modified: trunk/Source/WebCore/page/FrameView.cpp (150655 => 150656)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-05-24 20:07:02 UTC (rev 150655)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-05-24 20:26:00 UTC (rev 150656)
@@ -469,10 +469,8 @@
 
     updateScrollableAreaSet();
 
-    RenderView* renderView = this->renderView();
-
 #if USE(ACCELERATED_COMPOSITING)
-    if (renderView) {
+    if (RenderView* renderView = this->renderView()) {
         if (renderView->usesCompositing())
             renderView->compositor()->frameViewDidChangeSize();
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to