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

Unified Diff: cc/CCTextureLayerImpl.cpp

Issue 10989024: cc: Remove OwnPtr usage from CCRenderPass and CCDrawQuad class hierarchy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « cc/CCTextureDrawQuad.cpp ('k') | cc/CCTileDrawQuad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCTextureLayerImpl.cpp
diff --git a/cc/CCTextureLayerImpl.cpp b/cc/CCTextureLayerImpl.cpp
index ce08c2d4322b3cd3019d604200f2abb1f2ad667b..441265fef1b405b88ddf74816c69ded610bd11e2 100644
--- a/cc/CCTextureLayerImpl.cpp
+++ b/cc/CCTextureLayerImpl.cpp
@@ -46,7 +46,7 @@ void CCTextureLayerImpl::appendQuads(CCQuadSink& quadSink, CCAppendQuadsData& ap
appendDebugBorderQuad(quadSink, sharedQuadState, appendQuadsData);
IntRect quadRect(IntPoint(), contentBounds());
- quadSink.append(CCTextureDrawQuad::create(sharedQuadState, quadRect, m_externalTextureResource, m_premultipliedAlpha, m_uvRect, m_flipped), appendQuadsData);
+ quadSink.append(CCTextureDrawQuad::create(sharedQuadState, quadRect, m_externalTextureResource, m_premultipliedAlpha, m_uvRect, m_flipped).PassAs<CCDrawQuad>(), appendQuadsData);
}
void CCTextureLayerImpl::didDraw(CCResourceProvider* resourceProvider)
« no previous file with comments | « cc/CCTextureDrawQuad.cpp ('k') | cc/CCTileDrawQuad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698