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

Unified Diff: third_party/WebKit/public/platform/WebViewScheduler.h

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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/public/platform/WebViewScheduler.h
diff --git a/third_party/WebKit/public/platform/WebViewScheduler.h b/third_party/WebKit/public/platform/WebViewScheduler.h
index a3693f6af743d1bc447ae936d5a107bce1411e80..3635b784a04c751614fee6653e7850d56ea7553a 100644
--- a/third_party/WebKit/public/platform/WebViewScheduler.h
+++ b/third_party/WebKit/public/platform/WebViewScheduler.h
@@ -7,7 +7,8 @@
#include "WebCommon.h"
#include "public/platform/BlameContext.h"
-#include "public/platform/WebPassOwnPtr.h"
+
+#include <memory>
namespace blink {
@@ -23,7 +24,7 @@ public:
// Creates a new WebFrameScheduler. The caller is responsible for deleting
// it. All tasks executed by the frame scheduler will be attributed to
// |BlameContext|.
- virtual WebPassOwnPtr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
+ virtual std::unique_ptr<WebFrameScheduler> createFrameScheduler(BlameContext*) = 0;
// Instructs this WebViewScheduler to use virtual time. When virtual time is enabled
// the system doesn't actually sleep for the delays between tasks before executing

Powered by Google App Engine
This is Rietveld 408576698