[BlackBerry] Style clean-up in WebPageCompositor
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Feb 2012 17:09:49 +0000 (17:09 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Feb 2012 17:09:49 +0000 (17:09 +0000)
https://bugs.webkit.org/show_bug.cgi?id=78738

Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-02-16
Reviewed by Rob Buis.

No new functionality, no new tests.

* blackberry/WebKitSupport/WebPageCompositor.cpp:
(BlackBerry::WebKit::WebPageCompositor::drawLayers):
* blackberry/WebKitSupport/WebPageCompositor.h:
(WebKit):

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

Source/WebKit/ChangeLog
Source/WebKit/blackberry/WebKitSupport/WebPageCompositor.cpp
Source/WebKit/blackberry/WebKitSupport/WebPageCompositor.h

index cd2cefa..8110411 100644 (file)
@@ -1,3 +1,17 @@
+2012-02-16  Nima Ghanavatian  <nghanavatian@rim.com>
+
+        [BlackBerry] Style clean-up in WebPageCompositor
+        https://bugs.webkit.org/show_bug.cgi?id=78738
+
+        Reviewed by Rob Buis.
+
+        No new functionality, no new tests.
+
+        * blackberry/WebKitSupport/WebPageCompositor.cpp:
+        (BlackBerry::WebKit::WebPageCompositor::drawLayers):
+        * blackberry/WebKitSupport/WebPageCompositor.h:
+        (WebKit):
+
 2012-02-16  Patrick Gansterer  <paroga@webkit.org>
 
         [CMake] Add missing include directories.
index f77ac64..fcbc1ac 100644 (file)
  */
 
 #include "config.h"
-#include "WebPageCompositor.h"
 
 #if USE(ACCELERATED_COMPOSITING)
+#include "WebPageCompositor.h"
+
 #include "LayerWebKitThread.h"
 #include "WebPage_p.h"
 
@@ -90,8 +91,8 @@ bool WebPageCompositor::drawLayers(const IntRect& dstRect, const FloatRect& cont
     m_compositedGeneration = m_generation;
 
     if (m_lastCompositingResults.needsAnimationFrame) {
-        ++m_generation; // The animation update moves us along one generation
-        // Using a timeout of 0 actually won't start a timer, it will send a message
+        ++m_generation; // The animation update moves us along one generation.
+        // Using a timeout of 0 actually won't start a timer, it will send a message.
         m_blitTimer.start(1.0 / 60.0);
         m_webPage->updateDelegatedOverlays();
     }
index cb9dd6a..437ab95 100644 (file)
@@ -37,7 +37,7 @@ namespace WebKit {
 
 class WebPagePrivate;
 
-// This class may only be used on the compositing thread
+// This class may only be used on the compositing thread.
 class WebPageCompositor {
 public:
     WebPageCompositor(WebPagePrivate*);