| Index: content/child/blink_platform_impl.h
|
| diff --git a/content/child/blink_platform_impl.h b/content/child/blink_platform_impl.h
|
| index 785b0d6418ab422953d6398df517f5bdf7c914c1..2bfa9b3cb86d3cf5123e317cc208a34005f2efe3 100644
|
| --- a/content/child/blink_platform_impl.h
|
| +++ b/content/child/blink_platform_impl.h
|
| @@ -42,6 +42,8 @@ class CONTENT_EXPORT BlinkPlatformImpl
|
| : NON_EXPORTED_BASE(public blink::Platform) {
|
| public:
|
| BlinkPlatformImpl();
|
| + explicit BlinkPlatformImpl(
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner);
|
| virtual ~BlinkPlatformImpl();
|
|
|
| // Platform methods (partial implementation):
|
| @@ -162,6 +164,10 @@ class CONTENT_EXPORT BlinkPlatformImpl
|
| void ResumeSharedTimer();
|
| virtual void OnStartSharedTimer(base::TimeDelta delay) {}
|
|
|
| + protected:
|
| + base::OneShotTimer<BlinkPlatformImpl> shared_timer_;
|
| + scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_;
|
| +
|
| private:
|
| static void DestroyCurrentThread(void*);
|
|
|
| @@ -170,10 +176,10 @@ class CONTENT_EXPORT BlinkPlatformImpl
|
| shared_timer_func_();
|
| }
|
|
|
| + void InternalInit();
|
| +
|
| WebThemeEngineImpl native_theme_engine_;
|
| WebFallbackThemeEngineImpl fallback_theme_engine_;
|
| - base::MessageLoop* main_loop_;
|
| - base::OneShotTimer<BlinkPlatformImpl> shared_timer_;
|
| void (*shared_timer_func_)();
|
| double shared_timer_fire_time_;
|
| bool shared_timer_fire_time_was_set_while_suspended_;
|
|
|