diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-20 04:12:41 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-20 04:12:41 +0000 |
commit | 1fea814130ff23de709fe242819d67b9d4344e07 (patch) | |
tree | 6b9f06266db7ea814bc597ffb7fea731fb77904e /cc/debug_border_draw_quad.cc | |
parent | efd25e631eba64162229c4aee56413a4a0fd7549 (diff) | |
download | chromium_src-1fea814130ff23de709fe242819d67b9d4344e07.zip chromium_src-1fea814130ff23de709fe242819d67b9d4344e07.tar.gz chromium_src-1fea814130ff23de709fe242819d67b9d4344e07.tar.bz2 |
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
Diffstat (limited to 'cc/debug_border_draw_quad.cc')
-rw-r--r-- | cc/debug_border_draw_quad.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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> CCDebugBorderDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color, int width) +scoped_ptr<CCDebugBorderDrawQuad> 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) |