diff options
Diffstat (limited to 'cc/ImageLayerChromium.cpp')
-rw-r--r-- | cc/ImageLayerChromium.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/ImageLayerChromium.cpp b/cc/ImageLayerChromium.cpp index ce1621c..ec1117a 100644 --- a/cc/ImageLayerChromium.cpp +++ b/cc/ImageLayerChromium.cpp @@ -80,9 +80,9 @@ private: SkBitmap m_bitmap; }; -PassRefPtr<ImageLayerChromium> ImageLayerChromium::create() +scoped_refptr<ImageLayerChromium> ImageLayerChromium::create() { - return adoptRef(new ImageLayerChromium()); + return make_scoped_refptr(new ImageLayerChromium()); } ImageLayerChromium::ImageLayerChromium() |