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

Unified Diff: cc/layer_sorter.h

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/layer_sorter.h
diff --git a/cc/layer_sorter.h b/cc/layer_sorter.h
index fbf4e5d91323738e845a3bee134881102ea1e333..fabab31e3423dafe2d6a078a748cb3aae8f6b981 100644
--- a/cc/layer_sorter.h
+++ b/cc/layer_sorter.h
@@ -30,8 +30,8 @@ struct hash<cc::GraphEdge*> {
} // namespace BASE_HASH_NAMESPACE
#endif // COMPILER
-namespace WebKit {
-class WebTransformationMatrix;
+namespace gfx {
+class Transform;
}
namespace cc {
@@ -41,7 +41,7 @@ struct GraphEdge;
// Holds various useful properties derived from a layer's 3D outline.
struct CC_EXPORT LayerShape {
LayerShape();
- LayerShape(float width, float height, const WebKit::WebTransformationMatrix& drawTransform);
+ LayerShape(float width, float height, const gfx::Transform& drawTransform);
~LayerShape();
float layerZFromProjectedPoint(const gfx::PointF&) const;

Powered by Google App Engine
This is Rietveld 408576698