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

Unified Diff: third_party/WebKit/Source/core/fetch/ImageResource.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/core/fetch/ImageResource.h
diff --git a/third_party/WebKit/Source/core/fetch/ImageResource.h b/third_party/WebKit/Source/core/fetch/ImageResource.h
index 8ab5b6d18f1cb194d287bbde3fd7ef8540201f5c..a0962d9f9426256e571265c7b0a40ee7a5920381 100644
--- a/third_party/WebKit/Source/core/fetch/ImageResource.h
+++ b/third_party/WebKit/Source/core/fetch/ImageResource.h
@@ -32,6 +32,7 @@
#include "platform/graphics/ImageObserver.h"
#include "platform/graphics/ImageOrientation.h"
#include "wtf/HashMap.h"
+#include <memory>
namespace blink {
@@ -100,7 +101,7 @@ public:
void appendData(const char*, size_t) override;
void error(const ResourceError&) override;
- void responseReceived(const ResourceResponse&, PassOwnPtr<WebDataConsumerHandle>) override;
+ void responseReceived(const ResourceResponse&, std::unique_ptr<WebDataConsumerHandle>) override;
void finish(double finishTime = 0.0) override;
// For compatibility, images keep loading even if there are HTTP errors.
« no previous file with comments | « third_party/WebKit/Source/core/fetch/FontResource.h ('k') | third_party/WebKit/Source/core/fetch/ImageResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698