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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp

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/gif/GIFImageDecoder.cpp
diff --git a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
index 2cae67e0a9f1d413a973a22988c768fe3a689094..68e9334457a0978512762e0a267028649ede44d6 100644
--- a/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
+++ b/third_party/WebKit/Source/platform/image-decoders/gif/GIFImageDecoder.cpp
@@ -25,10 +25,10 @@
#include "platform/image-decoders/gif/GIFImageDecoder.h"
-#include <limits>
#include "platform/image-decoders/gif/GIFImageReader.h"
#include "wtf/NotFound.h"
-#include "wtf/PassOwnPtr.h"
+#include "wtf/PtrUtil.h"
+#include <limits>
namespace blink {
@@ -331,7 +331,7 @@ void GIFImageDecoder::parse(GIFParseQuery query)
return;
if (!m_reader) {
- m_reader = adoptPtr(new GIFImageReader(this));
+ m_reader = wrapUnique(new GIFImageReader(this));
m_reader->setData(m_data);
}

Powered by Google App Engine
This is Rietveld 408576698