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