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

Unified Diff: Source/WebCore/platform/graphics/chromium/ImageLayerChromium.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/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() { }

Powered by Google App Engine
This is Rietveld 408576698