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

Unified Diff: third_party/WebKit/Source/core/loader/NavigationScheduler.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/loader/NavigationScheduler.h
diff --git a/third_party/WebKit/Source/core/loader/NavigationScheduler.h b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
index cc8f867ad94fd39fdb94fce9121e9db99c814a7e..bdb9a25d6a1fc6981c5485f477cfb76d6558a61a 100644
--- a/third_party/WebKit/Source/core/loader/NavigationScheduler.h
+++ b/third_party/WebKit/Source/core/loader/NavigationScheduler.h
@@ -37,9 +37,10 @@
#include "wtf/Forward.h"
#include "wtf/HashMap.h"
#include "wtf/Noncopyable.h"
+#include "wtf/OwnPtr.h"
+#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/text/WTFString.h"
-#include <memory>
namespace blink {
@@ -85,7 +86,7 @@ private:
static bool mustReplaceCurrentItem(LocalFrame* targetFrame);
Member<LocalFrame> m_frame;
- std::unique_ptr<CancellableTaskFactory> m_navigateTaskFactory;
+ OwnPtr<CancellableTaskFactory> m_navigateTaskFactory;
Member<ScheduledNavigation> m_redirect;
WebScheduler::NavigatingFrameType m_frameType; // Exists because we can't deref m_frame in destructor.
};

Powered by Google App Engine
This is Rietveld 408576698