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

Unified Diff: cc/CCSolidColorDrawQuad.cpp

Issue 10989028: cc: Remove WebCore dependecies from CCRenderPass and CCDrawQuad classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 months 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/CCSolidColorDrawQuad.cpp
diff --git a/cc/CCSolidColorDrawQuad.cpp b/cc/CCSolidColorDrawQuad.cpp
index 8d34aa32966f159b836d5dfd94cc6c0f6dde1c34..2f0c7bac91d855f05c0094962410ebd2cda653bc 100644
--- a/cc/CCSolidColorDrawQuad.cpp
+++ b/cc/CCSolidColorDrawQuad.cpp
@@ -8,12 +8,12 @@
namespace cc {
-scoped_ptr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
+scoped_ptr<CCSolidColorDrawQuad> CCSolidColorDrawQuad::create(const CCSharedQuadState* sharedQuadState, const WebKit::WebRect& quadRect, SkColor color)
{
return scoped_ptr<CCSolidColorDrawQuad>(new CCSolidColorDrawQuad(sharedQuadState, quadRect, color));
}
-CCSolidColorDrawQuad::CCSolidColorDrawQuad(const CCSharedQuadState* sharedQuadState, const IntRect& quadRect, SkColor color)
+CCSolidColorDrawQuad::CCSolidColorDrawQuad(const CCSharedQuadState* sharedQuadState, const WebKit::WebRect& quadRect, SkColor color)
: CCDrawQuad(sharedQuadState, CCDrawQuad::SolidColor, quadRect)
, m_color(color)
{
« no previous file with comments | « cc/CCSolidColorDrawQuad.h ('k') | cc/CCStreamVideoDrawQuad.h » ('j') | cc/scoped_ptr_hash_map.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698