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

Unified Diff: cc/stream_video_draw_quad.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/stream_video_draw_quad.h
diff --git a/cc/stream_video_draw_quad.h b/cc/stream_video_draw_quad.h
index 9e6154b8dccbee8b7ef18fa6623d2e83cf69d8f1..897f45d06c5014912c3484041d80fa08f416baec 100644
--- a/cc/stream_video_draw_quad.h
+++ b/cc/stream_video_draw_quad.h
@@ -8,7 +8,7 @@
#include "base/memory/scoped_ptr.h"
#include "cc/cc_export.h"
#include "cc/draw_quad.h"
-#include <public/WebTransformationMatrix.h>
+#include "ui/gfx/transform.h"
namespace cc {
@@ -20,7 +20,7 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
gfx::Rect rect,
gfx::Rect opaque_rect,
unsigned texture_id,
- const WebKit::WebTransformationMatrix& matrix);
+ const gfx::Transform& matrix);
void SetAll(const SharedQuadState* shared_quad_state,
gfx::Rect rect,
@@ -28,10 +28,10 @@ class CC_EXPORT StreamVideoDrawQuad : public DrawQuad {
gfx::Rect visible_rect,
bool needs_blending,
unsigned texture_id,
- const WebKit::WebTransformationMatrix& matrix);
+ const gfx::Transform& matrix);
unsigned texture_id;
- WebKit::WebTransformationMatrix matrix;
+ gfx::Transform matrix;
static const StreamVideoDrawQuad* MaterialCast(const DrawQuad*);
private:

Powered by Google App Engine
This is Rietveld 408576698