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

Unified Diff: cc/LayerTextureUpdater.h

Issue 10947047: Fix remaining cc files to compile with Clang (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix FakeCCDelayBasedTimeSource 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/LayerChromium.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 7670fdef7668baad6937af7cc0b891e30a1aced0..0426bc42655d5f1bf7e7e1e8239ffb2a80c86f86 100644
--- a/cc/LayerTextureUpdater.h
+++ b/cc/LayerTextureUpdater.h
@@ -24,15 +24,15 @@ public:
// Allows texture uploaders to store per-tile resources.
class Texture {
public:
- virtual ~Texture() { }
+ virtual ~Texture();
CCPrioritizedTexture* texture() { return m_texture.get(); }
void swapTextureWith(OwnPtr<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 { return m_texture->backingResourceWasEvicted(); }
+ virtual bool backingResourceWasEvicted() const;
protected:
- explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture) : m_texture(texture) { }
+ explicit Texture(PassOwnPtr<CCPrioritizedTexture> texture);
private:
OwnPtr<CCPrioritizedTexture> m_texture;
« no previous file with comments | « cc/LayerChromium.cpp ('k') | cc/LayerTextureUpdater.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698