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

Unified Diff: cc/LayerTextureUpdater.h

Issue 11035071: [cc] Remove all WTF #includes from CCLayerTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 2 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/ImageLayerChromium.cpp ('k') | cc/LayerTextureUpdater.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/LayerTextureUpdater.h
diff --git a/cc/LayerTextureUpdater.h b/cc/LayerTextureUpdater.h
index 0426bc42655d5f1bf7e7e1e8239ffb2a80c86f86..89fc520475a64d1261bc27a0c7916b1745b55b05 100644
--- a/cc/LayerTextureUpdater.h
+++ b/cc/LayerTextureUpdater.h
@@ -27,15 +27,15 @@ public:
virtual ~Texture();
CCPrioritizedTexture* texture() { return m_texture.get(); }
- void swapTextureWith(OwnPtr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); }
+ void swapTextureWith(scoped_ptr<CCPrioritizedTexture>& texture) { m_texture.swap(texture); }
virtual void prepareRect(const IntRect& /* sourceRect */, CCRenderingStats&) { }
virtual void updateRect(CCResourceProvider*, const IntRect& sourceRect, const IntSize& destOffset) = 0;
virtual bool backingResourceWasEvicted() const;
protected:
- explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture);
+ explicit Texture(scoped_ptr<CCPrioritizedTexture> texture);
private:
- OwnPtr<CCPrioritizedTexture> m_texture;
+ scoped_ptr<CCPrioritizedTexture> m_texture;
};
LayerTextureUpdater()
« no previous file with comments | « cc/ImageLayerChromium.cpp ('k') | cc/LayerTextureUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698