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

Unified Diff: cc/CCYUVVideoDrawQuad.h

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/CCYUVVideoDrawQuad.h
diff --git a/cc/CCYUVVideoDrawQuad.h b/cc/CCYUVVideoDrawQuad.h
index f881fe854b4083c6ac7ac126514b2dabf9f605dd..e3dc1ba8472a5bcb76f5ba221f13d965c23a314f 100644
--- a/cc/CCYUVVideoDrawQuad.h
+++ b/cc/CCYUVVideoDrawQuad.h
@@ -14,7 +14,7 @@ namespace cc {
class CCYUVVideoDrawQuad : public CCDrawQuad {
WTF_MAKE_NONCOPYABLE(CCYUVVideoDrawQuad);
public:
- static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
+ static scoped_ptr<CCYUVVideoDrawQuad> create(const CCSharedQuadState*, const WebKit::WebRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
const CCVideoLayerImpl::FramePlane& yPlane() const { return m_yPlane; }
const CCVideoLayerImpl::FramePlane& uPlane() const { return m_uPlane; }
@@ -22,7 +22,7 @@ public:
static const CCYUVVideoDrawQuad* materialCast(const CCDrawQuad*);
private:
- CCYUVVideoDrawQuad(const CCSharedQuadState*, const IntRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
+ CCYUVVideoDrawQuad(const CCSharedQuadState*, const WebKit::WebRect&, const CCVideoLayerImpl::FramePlane& yPlane, const CCVideoLayerImpl::FramePlane& uPlane, const CCVideoLayerImpl::FramePlane& vPlane);
CCVideoLayerImpl::FramePlane m_yPlane;
CCVideoLayerImpl::FramePlane m_uPlane;
« no previous file with comments | « cc/CCTiledLayerImpl.cpp ('k') | cc/CCYUVVideoDrawQuad.cpp » ('j') | cc/scoped_ptr_hash_map.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698