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

Unified Diff: cc/CCDirectRenderer.cpp

Issue 10940002: Add wrapper container for a vector of OwnPtr<T> (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
« no previous file with comments | « cc/CCDebugRectHistory.cpp ('k') | cc/CCKeyframedAnimationCurve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCDirectRenderer.cpp
diff --git a/cc/CCDirectRenderer.cpp b/cc/CCDirectRenderer.cpp
index d0590faed7600fa079d2427cdc65801ecfaeefd5..c0b210f0a6e1d760ca9e058bec4d326f8ddef4fe 100644
--- a/cc/CCDirectRenderer.cpp
+++ b/cc/CCDirectRenderer.cpp
@@ -171,10 +171,10 @@ void CCDirectRenderer::drawRenderPass(DrawingFrame& frame, const CCRenderPass* r
const CCQuadList& quadList = renderPass->quadList();
for (CCQuadList::constBackToFrontIterator it = quadList.backToFrontBegin(); it != quadList.backToFrontEnd(); ++it) {
FloatRect quadScissorRect = frame.scissorRectInRenderPassSpace;
- quadScissorRect.intersect(it->get()->clippedRectInTarget());
+ quadScissorRect.intersect((*it)->clippedRectInTarget());
if (!quadScissorRect.isEmpty()) {
enableScissorTestRect(moveScissorToWindowSpace(frame, quadScissorRect));
- drawQuad(frame, it->get());
+ drawQuad(frame, *it);
}
}
« no previous file with comments | « cc/CCDebugRectHistory.cpp ('k') | cc/CCKeyframedAnimationCurve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698