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

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

Issue 2810423003: Schedule bitmap animation timers on the compositor task runner. (Closed)
Patch Set: fix up comment about a method changed by blink reformat Created 3 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/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 d7a2fff2a94a4a391f7bda53541ee8f08f2a5350..b6e151267c6e8cbb4840d6fa9883eeca730a77ee 100644
--- a/third_party/WebKit/Source/core/loader/EmptyClients.cpp
+++ b/third_party/WebKit/Source/core/loader/EmptyClients.cpp
@@ -77,6 +77,7 @@ class EmptyFrameScheduler : public WebFrameScheduler {
RefPtr<WebTaskRunner> TimerTaskRunner() override;
RefPtr<WebTaskRunner> UnthrottledTaskRunner() override;
RefPtr<WebTaskRunner> SuspendableTaskRunner() override;
+ RefPtr<WebTaskRunner> CompositorTaskRunner() override;
};
RefPtr<WebTaskRunner> EmptyFrameScheduler::LoadingTaskRunner() {
@@ -95,6 +96,10 @@ RefPtr<WebTaskRunner> EmptyFrameScheduler::SuspendableTaskRunner() {
return Platform::Current()->MainThread()->GetWebTaskRunner();
}
+RefPtr<WebTaskRunner> EmptyFrameScheduler::CompositorTaskRunner() {
+ return Platform::Current()->MainThread()->GetWebTaskRunner();
+}
+
PopupMenu* EmptyChromeClient::OpenPopupMenu(LocalFrame&, HTMLSelectElement&) {
return new EmptyPopupMenu();
}

Powered by Google App Engine
This is Rietveld 408576698