From 1fea814130ff23de709fe242819d67b9d4344e07 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Sat, 20 Oct 2012 04:12:41 +0000 Subject: cc: Use ui/gfx geometry types for the CCRenderPass and CCDrawQuad classes. We use these geometry types for CCDrawQuad types and in CCRenderPass, and so we also make use of them in the CCRenderer classes. A minor number of copies back to cc:: (WebCore) geometry types do occur in the renderer implementations for now until we migrate the rest of the compositor. Covered by existing tests. BUG=152473 R=enne,jamesr Review URL: https://chromiumcodereview.appspot.com/10984053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163142 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/debug_border_draw_quad.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/debug_border_draw_quad.cc') diff --git a/cc/debug_border_draw_quad.cc b/cc/debug_border_draw_quad.cc index a8b9d35..5a9c778 100644 --- a/cc/debug_border_draw_quad.cc +++ b/cc/debug_border_draw_quad.cc @@ -10,12 +10,12 @@ namespace cc { -scoped_ptr CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width) +scoped_ptr CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const gfx::Rect& quadRect, SkColor color, int width) { return make_scoped_ptr(new CCDebugBorderDrawQuad(sharedQuadState, quadRect, color, width)); } -CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width) +CCDebugBorderDrawQuad::CCDebugBorderDrawQuad(const CCSharedQuadState* sharedQuadState, const gfx::Rect& quadRect, SkColor color, int width) : CCDrawQuad(sharedQuadState, CCDrawQuad::DebugBorder, quadRect) , m_color(color) , m_width(width) -- cgit v1.1