Title: [109736] trunk/Source/WebCore
Revision
109736
Author
a...@0x90.dk
Date
2012-03-05 06:00:22 -0800 (Mon, 05 Mar 2012)

Log Message

Whitespace clean-up of TiledBackingStore.cpp.

Rubber-stamped by Kenneth Rohde Christiansen.

Already covered by existing tests.

* platform/graphics/TiledBackingStore.cpp:
(WebCore):
(WebCore::TiledBackingStore::updateTileBuffers):
(WebCore::TiledBackingStore::paint):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (109735 => 109736)


--- trunk/Source/WebCore/ChangeLog	2012-03-05 13:57:12 UTC (rev 109735)
+++ trunk/Source/WebCore/ChangeLog	2012-03-05 14:00:22 UTC (rev 109736)
@@ -1,3 +1,16 @@
+2012-03-05  Alexander Færøy  <alexander.fae...@nokia.com>
+
+        Whitespace clean-up of TiledBackingStore.cpp.
+
+        Rubber-stamped by Kenneth Rohde Christiansen.
+
+        Already covered by existing tests.
+
+        * platform/graphics/TiledBackingStore.cpp:
+        (WebCore):
+        (WebCore::TiledBackingStore::updateTileBuffers):
+        (WebCore::TiledBackingStore::paint):
+
 2012-03-05  Carlos Garcia Campos  <cgar...@igalia.com>
 
         Unreviewed. Fix make distcheck.

Modified: trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp (109735 => 109736)


--- trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-03-05 13:57:12 UTC (rev 109735)
+++ trunk/Source/WebCore/platform/graphics/TiledBackingStore.cpp	2012-03-05 14:00:22 UTC (rev 109736)
@@ -26,7 +26,7 @@
 #include "TiledBackingStoreClient.h"
 
 namespace WebCore {
-    
+
 static const int defaultTileDimension = 512;
 
 static IntPoint innerBottomRight(const IntRect& rect)
@@ -103,7 +103,7 @@
 {
     if (!m_client->tiledBackingStoreUpdatesAllowed() || m_contentsFrozen)
         return;
-    
+
     m_client->tiledBackingStorePaintBegin();
 
     Vector<IntRect> paintedArea;
@@ -114,7 +114,7 @@
             continue;
         dirtyTiles.append(it->second);
     }
-    
+
     if (dirtyTiles.isEmpty()) {
         m_client->tiledBackingStorePaintEnd(paintedArea);
         return;
@@ -136,13 +136,13 @@
 void TiledBackingStore::paint(GraphicsContext* context, const IntRect& rect)
 {
     context->save();
-    
+
     // Assumes the backing store is painted with the scale transform applied.
     // Since tile content is already scaled, first revert the scaling from the painter.
     context->scale(FloatSize(1.f / m_contentsScale, 1.f / m_contentsScale));
-    
+
     IntRect dirtyRect = mapFromContents(rect);
-    
+
     Tile::Coordinate topLeft = tileCoordinateForPoint(dirtyRect.location());
     Tile::Coordinate bottomRight = tileCoordinateForPoint(innerBottomRight(dirtyRect));
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to