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

Unified Diff: third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.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/HTMLResourcePreloader.h
diff --git a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
index 29ddf17c574e2bce23e8509bcf9d9598b3d8f087..e2df0cdeec7006b2ebeaf6e6eeb9a5f15b3a90e1 100644
--- a/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
+++ b/third_party/WebKit/Source/core/html/parser/HTMLResourcePreloader.h
@@ -33,6 +33,7 @@
#include "core/loader/NetworkHintsInterface.h"
#include "wtf/CurrentTime.h"
#include "wtf/text/TextPosition.h"
+#include <memory>
namespace blink {
@@ -44,7 +45,7 @@ public:
DECLARE_TRACE();
protected:
- void preload(PassOwnPtr<PreloadRequest>, const NetworkHintsInterface&) override;
+ void preload(std::unique_ptr<PreloadRequest>, const NetworkHintsInterface&) override;
private:
explicit HTMLResourcePreloader(Document&);

Powered by Google App Engine
This is Rietveld 408576698