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

Unified Diff: Source/platform/graphics/UnacceleratedImageBufferSurface.h

Issue 201213002: Remove uses of SkBitmap::Config (deprecated) from core/ and platform/. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: schenney comments Created 6 years, 9 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/platform/graphics/UnacceleratedImageBufferSurface.h
diff --git a/Source/platform/graphics/UnacceleratedImageBufferSurface.h b/Source/platform/graphics/UnacceleratedImageBufferSurface.h
index 5ee66b49f46bd8623bc069959d716ced0a7b42df..407cdcbf31149beae3708c49d2048b569b1d86b1 100644
--- a/Source/platform/graphics/UnacceleratedImageBufferSurface.h
+++ b/Source/platform/graphics/UnacceleratedImageBufferSurface.h
@@ -32,7 +32,7 @@
#define UnacceleratedImageBufferSurface_h
#include "platform/graphics/ImageBufferSurface.h"
-#include "wtf/OwnPtr.h"
+#include "wtf/RefPtr.h"
namespace WebCore {
@@ -46,7 +46,7 @@ public:
virtual bool isValid() const OVERRIDE { return m_canvas; }
private:
- OwnPtr<SkCanvas> m_canvas;
+ RefPtr<SkCanvas> m_canvas;
};
} // namespace WebCore
« no previous file with comments | « Source/platform/graphics/ImageFrameGeneratorTest.cpp ('k') | Source/platform/graphics/UnacceleratedImageBufferSurface.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698