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

Unified Diff: cc/CCSharedQuadState.cpp

Issue 10984053: cc: Use ui/gfx geometry types for the 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/CCSharedQuadState.cpp
diff --git a/cc/CCSharedQuadState.cpp b/cc/CCSharedQuadState.cpp
index 65fe2f0ff29cc8c14e1a516cf7309920440b35e6..37fa11bbd24a98a91e63dc94edd8114f6762b537 100644
--- a/cc/CCSharedQuadState.cpp
+++ b/cc/CCSharedQuadState.cpp
@@ -6,16 +6,14 @@
#include "CCSharedQuadState.h"
-#include "FloatQuad.h"
-
namespace cc {
-PassOwnPtr<CCSharedQuadState> CCSharedQuadState::create(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque)
+PassOwnPtr<CCSharedQuadState> CCSharedQuadState::create(const WebKit::WebTransformationMatrix& quadTransform, const ccmath::IntRect& visibleContentRect, const ccmath::IntRect& clippedRectInTarget, float opacity, bool opaque)
{
return adoptPtr(new CCSharedQuadState(quadTransform, visibleContentRect, clippedRectInTarget, opacity, opaque));
}
-CCSharedQuadState::CCSharedQuadState(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque)
+CCSharedQuadState::CCSharedQuadState(const WebKit::WebTransformationMatrix& quadTransform, const ccmath::IntRect& visibleContentRect, const ccmath::IntRect& clippedRectInTarget, float opacity, bool opaque)
: id(-1)
, quadTransform(quadTransform)
, visibleContentRect(visibleContentRect)
« no previous file with comments | « cc/CCSharedQuadState.h ('k') | cc/CCSolidColorDrawQuad.h » ('j') | cc/math/clamp.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698