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

Unified Diff: content/renderer/renderer_blink_platform_impl.h

Issue 690703002: WebThreadImplForMessageLoop to use blink scheduler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a TODO, removed stray whitespace Created 6 years, 1 month 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: content/renderer/renderer_blink_platform_impl.h
diff --git a/content/renderer/renderer_blink_platform_impl.h b/content/renderer/renderer_blink_platform_impl.h
index f4f84deb08f67a7de8c8542afde7fe296afba4d2..225a300113eab86cad6b1e97d36d4865ac65dfe7 100644
--- a/content/renderer/renderer_blink_platform_impl.h
+++ b/content/renderer/renderer_blink_platform_impl.h
@@ -54,14 +54,15 @@ class WebSchedulerImpl;
class CONTENT_EXPORT RendererBlinkPlatformImpl : public BlinkPlatformImpl {
public:
- RendererBlinkPlatformImpl(RendererScheduler* renderer_scheduler);
+ RendererBlinkPlatformImpl(
+ RendererScheduler* renderer_scheduler,
+ scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner);
virtual ~RendererBlinkPlatformImpl();
void set_plugin_refresh_allowed(bool plugin_refresh_allowed) {
plugin_refresh_allowed_ = plugin_refresh_allowed;
}
// Platform methods:
- virtual void callOnMainThread(void (*func)(void*), void* context);
virtual blink::WebClipboard* clipboard();
virtual blink::WebMimeRegistry* mimeRegistry();
virtual blink::WebFileUtilities* fileUtilities();

Powered by Google App Engine
This is Rietveld 408576698