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

Unified Diff: third_party/WebKit/Source/platform/graphics/ImageSource.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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: third_party/WebKit/Source/platform/graphics/ImageSource.h
diff --git a/third_party/WebKit/Source/platform/graphics/ImageSource.h b/third_party/WebKit/Source/platform/graphics/ImageSource.h
index 3e5d183be8f9a51eafe28f1fba9810eb2654e703..5e8ded4798ce85ea8cb49a28410af12b6157069d 100644
--- a/third_party/WebKit/Source/platform/graphics/ImageSource.h
+++ b/third_party/WebKit/Source/platform/graphics/ImageSource.h
@@ -30,7 +30,7 @@
#include "platform/graphics/ImageOrientation.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
class SkImage;
@@ -95,7 +95,7 @@ public:
size_t frameBytesAtIndex(size_t) const;
private:
- OwnPtr<DeferredImageDecoder> m_decoder;
+ std::unique_ptr<DeferredImageDecoder> m_decoder;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698