Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(277)

Unified Diff: Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp

Issue 7982004: Merge 95506 - [chromium] ContentLayer's texture updater deleted during paint when compositing tur... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/874/
Patch Set: Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698