summaryrefslogtreecommitdiffstats
path: root/cc/ImageLayerChromium.h
diff options
context:
space:
mode:
authorenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 00:37:14 +0000
committerenne@chromium.org <enne@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-08 00:37:14 +0000
commit23d6d6796199915131390c1100146d12424a6883 (patch)
tree4ffc6f8280d7de67108f7a00189439bcab76d0e1 /cc/ImageLayerChromium.h
parent33fca3ed40a3982d985411a8470df6bb073b3c38 (diff)
downloadchromium_src-23d6d6796199915131390c1100146d12424a6883.zip
chromium_src-23d6d6796199915131390c1100146d12424a6883.tar.gz
chromium_src-23d6d6796199915131390c1100146d12424a6883.tar.bz2
[cc] Remove WTF types from LayerChromium and layer lists
Both layer list types needed to be changed to vector simultaneously because of the amount of templated code that deals with both. BUG=154451 Review URL: https://chromiumcodereview.appspot.com/11047029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160619 0039d316-1c4b-4281-b951-d872f2087c98
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);