summaryrefslogtreecommitdiffstats
path: root/cc/TextureLayerChromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/TextureLayerChromium.h')
-rw-r--r--cc/TextureLayerChromium.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/TextureLayerChromium.h b/cc/TextureLayerChromium.h
index 1886c79..2be64d4 100644
--- a/cc/TextureLayerChromium.h
+++ b/cc/TextureLayerChromium.h
@@ -23,8 +23,7 @@ public:
// If this texture layer requires special preparation logic for each frame driven by
// the compositor, pass in a non-nil client. Pass in a nil client pointer if texture updates
// are driven by an external process.
- static PassRefPtr<TextureLayerChromium> create(TextureLayerChromiumClient*);
- virtual ~TextureLayerChromium();
+ static scoped_refptr<TextureLayerChromium> create(TextureLayerChromiumClient*);
void clearClient() { m_client = 0; }
@@ -58,6 +57,7 @@ public:
protected:
explicit TextureLayerChromium(TextureLayerChromiumClient*);
+ virtual ~TextureLayerChromium();
private:
TextureLayerChromiumClient* m_client;