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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.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/image-decoders/ico/ICOImageDecoder.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
index 7bfe240a00d5498ee9b815067c6fe99eafc3eec3..0f875ffe6328a0940408ba4756d2c8053ba522f9 100644
--- a/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
+++ b/third_party/WebKit/Source/platform/image-decoders/ico/ICOImageDecoder.h
@@ -33,6 +33,7 @@
#include "platform/image-decoders/FastSharedBufferReader.h"
#include "platform/image-decoders/bmp/BMPImageReader.h"
+#include <memory>
namespace blink {
@@ -159,9 +160,9 @@ private:
IconDirectoryEntries m_dirEntries;
// The image decoders for the various frames.
- typedef Vector<OwnPtr<BMPImageReader>> BMPReaders;
+ typedef Vector<std::unique_ptr<BMPImageReader>> BMPReaders;
BMPReaders m_bmpReaders;
- typedef Vector<OwnPtr<PNGImageDecoder>> PNGDecoders;
+ typedef Vector<std::unique_ptr<PNGImageDecoder>> PNGDecoders;
PNGDecoders m_pngDecoders;
// Valid only while a BMPImageReader is decoding, this holds the size

Powered by Google App Engine
This is Rietveld 408576698