Index: Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp |
=================================================================== |
--- Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp (revision 95551) |
+++ Source/WebCore/platform/graphics/chromium/ImageLayerChromium.cpp (working copy) |
@@ -45,11 +45,10 @@ |
namespace WebCore { |
class ImageLayerTextureUpdater : public LayerTextureUpdater { |
- WTF_MAKE_NONCOPYABLE(ImageLayerTextureUpdater); |
public: |
- static PassOwnPtr<ImageLayerTextureUpdater> create(bool useMapTexSubImage) |
+ static PassRefPtr<ImageLayerTextureUpdater> create(bool useMapTexSubImage) |
{ |
- return adoptPtr(new ImageLayerTextureUpdater(useMapTexSubImage)); |
+ return adoptRef(new ImageLayerTextureUpdater(useMapTexSubImage)); |
} |
virtual ~ImageLayerTextureUpdater() { } |