Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3790)

Unified Diff: cc/tiled_layer.cc

Issue 11308153: Migrate most of cc/ from WebKit::WebTransformationMatrix to gfx::Transform (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased to tip of tree and addressed feedback Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: cc/tiled_layer.cc
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc
index 9526a6378f84b1d5861cee4f6638a617ee270b40..ce3a79f55f249efb6bdaf05d35a0b6b2ac6261fb 100644
--- a/cc/tiled_layer.cc
+++ b/cc/tiled_layer.cc
@@ -14,7 +14,7 @@
#include "ui/gfx/rect_conversions.h"
using namespace std;
-using WebKit::WebTransformationMatrix;
+using gfx::Transform;
namespace cc {
@@ -484,7 +484,7 @@ void TiledLayer::updateTileTextures(const gfx::Rect& paintRect, int left, int to
tile->updaterResource()->update(queue, sourceRect, destOffset, tile->partialUpdate, stats);
if (occlusion)
- occlusion->overdrawMetrics().didUpload(WebTransformationMatrix(), sourceRect, tile->opaqueRect());
+ occlusion->overdrawMetrics().didUpload(Transform(), sourceRect, tile->opaqueRect());
}
}

Powered by Google App Engine
This is Rietveld 408576698