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

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

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.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.h (revision 95551)
+++ Source/WebCore/platform/graphics/chromium/LayerTextureUpdaterCanvas.h (working copy)
@@ -34,6 +34,7 @@
#include "LayerTextureUpdater.h"
#include "PlatformCanvas.h"
#include <wtf/PassOwnPtr.h>
+#include <wtf/PassRefPtr.h>
#if USE(SKIA)
#include "SkPicture.h"
@@ -50,7 +51,6 @@
// A LayerTextureUpdater with an internal canvas.
class LayerTextureUpdaterCanvas : public LayerTextureUpdater {
- WTF_MAKE_NONCOPYABLE(LayerTextureUpdaterCanvas);
protected:
explicit LayerTextureUpdaterCanvas(PassOwnPtr<LayerPainterChromium>);
@@ -65,9 +65,8 @@
// A LayerTextureUpdater with an internal bitmap canvas.
class LayerTextureUpdaterBitmap : public LayerTextureUpdaterCanvas {
- WTF_MAKE_NONCOPYABLE(LayerTextureUpdaterBitmap);
public:
- static PassOwnPtr<LayerTextureUpdaterBitmap> create(PassOwnPtr<LayerPainterChromium>, bool useMapTexSubImage);
+ static PassRefPtr<LayerTextureUpdaterBitmap> create(PassOwnPtr<LayerPainterChromium>, bool useMapTexSubImage);
virtual Orientation orientation() { return LayerTextureUpdater::BottomUpOrientation; }
virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat);
@@ -82,9 +81,8 @@
#if USE(SKIA)
class LayerTextureUpdaterSkPicture : public LayerTextureUpdaterCanvas {
- WTF_MAKE_NONCOPYABLE(LayerTextureUpdaterSkPicture);
public:
- static PassOwnPtr<LayerTextureUpdaterSkPicture> create(PassOwnPtr<LayerPainterChromium>);
+ static PassRefPtr<LayerTextureUpdaterSkPicture> create(PassOwnPtr<LayerPainterChromium>);
virtual ~LayerTextureUpdaterSkPicture();
virtual Orientation orientation() { return LayerTextureUpdater::TopDownOrientation; }

Powered by Google App Engine
This is Rietveld 408576698