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

Unified Diff: third_party/WebKit/Source/core/page/ChromeClient.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/page/ChromeClient.h
diff --git a/third_party/WebKit/Source/core/page/ChromeClient.h b/third_party/WebKit/Source/core/page/ChromeClient.h
index 7d5752ce2fb1746eebd003bd037c766568e2a40a..6f55c92a086890b6b9452a03ce54111917ad9e03 100644
--- a/third_party/WebKit/Source/core/page/ChromeClient.h
+++ b/third_party/WebKit/Source/core/page/ChromeClient.h
@@ -39,8 +39,8 @@
#include "public/platform/WebEventListenerProperties.h"
#include "public/platform/WebFocusType.h"
#include "wtf/Forward.h"
-#include "wtf/PassOwnPtr.h"
#include "wtf/Vector.h"
+#include <memory>
namespace blink {
@@ -279,7 +279,7 @@ public:
// that this is comprehensive.
virtual void didObserveNonGetFetchFromScript() const {}
- virtual PassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
+ virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
// Returns the time of the beginning of the last beginFrame, in seconds, if any, and 0.0 otherwise.
virtual double lastFrameTimeMonotonic() const { return 0.0; }

Powered by Google App Engine
This is Rietveld 408576698