summaryrefslogtreecommitdiffstats
path: root/cc/ImageLayerChromium.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc/ImageLayerChromium.h')
-rw-r--r--cc/ImageLayerChromium.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/ImageLayerChromium.h b/cc/ImageLayerChromium.h
index 8f76363..12ac397 100644
--- a/cc/ImageLayerChromium.h
+++ b/cc/ImageLayerChromium.h
@@ -18,8 +18,7 @@ class ImageLayerTextureUpdater;
// A Layer that contains only an Image element.
class ImageLayerChromium : public TiledLayerChromium {
public:
- static PassRefPtr<ImageLayerChromium> create();
- virtual ~ImageLayerChromium();
+ static scoped_refptr<ImageLayerChromium> create();
virtual bool drawsContent() const OVERRIDE;
virtual void setTexturePriorities(const CCPriorityCalculator&) OVERRIDE;
@@ -30,6 +29,7 @@ public:
private:
ImageLayerChromium();
+ virtual ~ImageLayerChromium();
void setTilingOption(TilingOption);