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

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: All remaining files 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
Index: cc/LayerTextureUpdater.h
diff --git a/cc/LayerTextureUpdater.h b/cc/LayerTextureUpdater.h
index a8e649d661da69ee1377b2a78dd627c3a12bd094..0bc867e7efc5f6ee79aa216c570e987f114c5df7 100644
--- a/cc/LayerTextureUpdater.h
+++ b/cc/LayerTextureUpdater.h
@@ -24,14 +24,14 @@ 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;
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') | cc/test/MockCCQuadCuller.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698