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; } |