| Index: Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp
|
| ===================================================================
|
| --- Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp (revision 95551)
|
| +++ Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp (working copy)
|
| @@ -61,9 +61,9 @@
|
| m_contentRect = contentRect;
|
| }
|
|
|
| -PassOwnPtr<LayerTextureUpdaterBitmap> LayerTextureUpdaterBitmap::create(PassOwnPtr<LayerPainterChromium> painter, bool useMapTexSubImage)
|
| +PassRefPtr<LayerTextureUpdaterBitmap> LayerTextureUpdaterBitmap::create(PassOwnPtr<LayerPainterChromium> painter, bool useMapTexSubImage)
|
| {
|
| - return adoptPtr(new LayerTextureUpdaterBitmap(painter, useMapTexSubImage));
|
| + return adoptRef(new LayerTextureUpdaterBitmap(painter, useMapTexSubImage));
|
| }
|
|
|
| LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap(PassOwnPtr<LayerPainterChromium> painter, bool useMapTexSubImage)
|
| @@ -103,9 +103,9 @@
|
|
|
| #if !USE(THREADED_COMPOSITING)
|
| #if USE(SKIA)
|
| -PassOwnPtr<LayerTextureUpdaterSkPicture> LayerTextureUpdaterSkPicture::create(PassOwnPtr<LayerPainterChromium> painter)
|
| +PassRefPtr<LayerTextureUpdaterSkPicture> LayerTextureUpdaterSkPicture::create(PassOwnPtr<LayerPainterChromium> painter)
|
| {
|
| - return adoptPtr(new LayerTextureUpdaterSkPicture(painter));
|
| + return adoptRef(new LayerTextureUpdaterSkPicture(painter));
|
| }
|
|
|
| LayerTextureUpdaterSkPicture::LayerTextureUpdaterSkPicture(PassOwnPtr<LayerPainterChromium> painter)
|
|
|