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

Unified Diff: cc/render_pass.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/render_pass.cc
diff --git a/cc/render_pass.cc b/cc/render_pass.cc
index 0a8dc488f66e8b23415af19929977d2eec7cd84c..d93389d20b756addb15c38b6cfd0420e21439e51 100644
--- a/cc/render_pass.cc
+++ b/cc/render_pass.cc
@@ -6,7 +6,7 @@
#include "third_party/skia/include/core/SkImageFilter.h"
-using WebKit::WebTransformationMatrix;
+using gfx::Transform;
namespace cc {
@@ -44,7 +44,7 @@ scoped_ptr<RenderPass> RenderPass::Copy(Id new_id) const {
void RenderPass::SetNew(Id id,
gfx::Rect output_rect,
gfx::RectF damage_rect,
- const WebKit::WebTransformationMatrix& transform_to_root_target) {
+ const gfx::Transform& transform_to_root_target) {
DCHECK_GT(id.layer_id, 0);
DCHECK_GE(id.index, 0);
@@ -60,7 +60,7 @@ void RenderPass::SetNew(Id id,
void RenderPass::SetAll(Id id,
gfx::Rect output_rect,
gfx::RectF damage_rect,
- const WebKit::WebTransformationMatrix& transform_to_root_target,
+ const gfx::Transform& transform_to_root_target,
bool has_transparent_background,
bool has_occlusion_from_outside_target_surface,
const WebKit::WebFilterOperations& filters,

Powered by Google App Engine
This is Rietveld 408576698