Title: [152098] trunk/Source/WebCore
Revision
152098
Author
commit-qu...@webkit.org
Date
2013-06-27 08:11:32 -0700 (Thu, 27 Jun 2013)

Log Message

Avoid duplicating hostWindow() call in FrameView::setFrameRect()
https://bugs.webkit.org/show_bug.cgi?id=118115

Patch by Seokju Kwon <seokju.k...@gmail.com> on 2013-06-27
Reviewed by Christophe Dumez.

Remove a redundant call in FrameView::setFrameRect().

No function change, no tests.

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

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (152097 => 152098)


--- trunk/Source/WebCore/ChangeLog	2013-06-27 14:35:32 UTC (rev 152097)
+++ trunk/Source/WebCore/ChangeLog	2013-06-27 15:11:32 UTC (rev 152098)
@@ -1,3 +1,17 @@
+2013-06-27  Seokju Kwon  <seokju.k...@gmail.com>
+
+        Avoid duplicating hostWindow() call in FrameView::setFrameRect()
+        https://bugs.webkit.org/show_bug.cgi?id=118115
+
+        Reviewed by Christophe Dumez.
+
+        Remove a redundant call in FrameView::setFrameRect().
+
+        No function change, no tests.
+
+        * page/FrameView.cpp:
+        (WebCore::FrameView::scheduleAnimation):
+
 2013-06-27  Xabier Rodriguez Calvar  <calva...@igalia.com>
 
         Fixing some compiler warnings

Modified: trunk/Source/WebCore/page/FrameView.cpp (152097 => 152098)


--- trunk/Source/WebCore/page/FrameView.cpp	2013-06-27 14:35:32 UTC (rev 152097)
+++ trunk/Source/WebCore/page/FrameView.cpp	2013-06-27 15:11:32 UTC (rev 152098)
@@ -497,8 +497,8 @@
 #if ENABLE(REQUEST_ANIMATION_FRAME)
 bool FrameView::scheduleAnimation()
 {
-    if (hostWindow()) {
-        hostWindow()->scheduleAnimation();
+    if (HostWindow* window = hostWindow()) {
+        window->scheduleAnimation();
         return true;
     }
     return false;
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to