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

Unified Diff: third_party/WebKit/Source/core/html/parser/ResourcePreloader.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/html/parser/ResourcePreloader.h
diff --git a/third_party/WebKit/Source/core/html/parser/ResourcePreloader.h b/third_party/WebKit/Source/core/html/parser/ResourcePreloader.h
index 571eecfa3b9daf7fcbef586cffddaf4768f3801a..5974d8a0b70d32f2b0eebcdb2c0e5554f389ea4d 100644
--- a/third_party/WebKit/Source/core/html/parser/ResourcePreloader.h
+++ b/third_party/WebKit/Source/core/html/parser/ResourcePreloader.h
@@ -7,6 +7,7 @@
#include "core/CoreExport.h"
#include "core/html/parser/PreloadRequest.h"
+#include <memory>
namespace blink {
@@ -16,7 +17,7 @@ class CORE_EXPORT ResourcePreloader {
public:
virtual void takeAndPreload(PreloadRequestStream&);
private:
- virtual void preload(PassOwnPtr<PreloadRequest>, const NetworkHintsInterface&) = 0;
+ virtual void preload(std::unique_ptr<PreloadRequest>, const NetworkHintsInterface&) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698