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

Unified Diff: third_party/WebKit/Source/core/loader/EmptyClients.cpp

Issue 2118783002: scheduler: Add an unthrottled per-frame task runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add implementation in EmptyClients Created 4 years, 5 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/EmptyClients.cpp
diff --git a/third_party/WebKit/Source/core/loader/EmptyClients.cpp b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
index 3a74c627948b8a1f4f63363c1862cf3aec2f8178..dda06dbcdbbcc9c786af814766cf5c3ab07dfc22 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -73,6 +73,7 @@ public:
void setFrameVisible(bool) override { }
WebTaskRunner* loadingTaskRunner() override;
WebTaskRunner* timerTaskRunner() override;
+ WebTaskRunner* unthrottledTaskRunner() override;
};
WebTaskRunner* EmptyFrameScheduler::loadingTaskRunner()
@@ -85,6 +86,11 @@ WebTaskRunner* EmptyFrameScheduler::timerTaskRunner()
return Platform::current()->currentThread()->getWebTaskRunner();
}
+WebTaskRunner* EmptyFrameScheduler::unthrottledTaskRunner()
+{
+ return Platform::current()->currentThread()->getWebTaskRunner();
+}
+
PopupMenu* EmptyChromeClient::openPopupMenu(LocalFrame&, HTMLSelectElement&)
{
return new EmptyPopupMenu();
« no previous file with comments | « third_party/WebKit/Source/core/frame/FrameView.cpp ('k') | third_party/WebKit/public/platform/WebFrameScheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698