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

Unified Diff: cc/CCSharedQuadState.h

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/CCScrollbarLayerImpl.cpp ('k') | cc/CCSharedQuadState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/CCSharedQuadState.h
diff --git a/cc/CCSharedQuadState.h b/cc/CCSharedQuadState.h
index f4f9726644e76039932404fa653689483e888ab5..0f5e386410d599588d644bbf42f78912e8d1bef3 100644
--- a/cc/CCSharedQuadState.h
+++ b/cc/CCSharedQuadState.h
@@ -6,8 +6,8 @@
#define CCSharedQuadState_h
#include "IntRect.h"
+#include "base/memory/scoped_ptr.h"
#include <public/WebTransformationMatrix.h>
-#include <wtf/PassOwnPtr.h>
namespace cc {
@@ -22,10 +22,10 @@ struct CCSharedQuadState {
float opacity;
bool opaque;
- static PassOwnPtr<CCSharedQuadState> create(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque);
+ static scoped_ptr<CCSharedQuadState> create(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque);
CCSharedQuadState(const WebKit::WebTransformationMatrix& quadTransform, const IntRect& visibleContentRect, const IntRect& clippedRectInTarget, float opacity, bool opaque);
- PassOwnPtr<CCSharedQuadState> copy() const;
+ scoped_ptr<CCSharedQuadState> copy() const;
};
}
« no previous file with comments | « cc/CCScrollbarLayerImpl.cpp ('k') | cc/CCSharedQuadState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698