Index: components/html_viewer/blink_platform_impl.h |
diff --git a/components/html_viewer/blink_platform_impl.h b/components/html_viewer/blink_platform_impl.h |
index 36cdb1f2547d6f3eb4d9f59d3944aa8d55106b91..b651e04cba05b3dd70f029706019eb1f64496c3b 100644 |
--- a/components/html_viewer/blink_platform_impl.h |
+++ b/components/html_viewer/blink_platform_impl.h |
@@ -52,9 +52,6 @@ class BlinkPlatformImpl : public blink::Platform { |
virtual double monotonicallyIncreasingTime(); |
virtual void cryptographicallyRandomValues(unsigned char* buffer, |
size_t length); |
- virtual void setSharedTimerFiredFunction(void (*func)()); |
- virtual void setSharedTimerFireInterval(double interval_seconds); |
- virtual void stopSharedTimer(); |
virtual bool isThreadedCompositingEnabled(); |
virtual blink::WebCompositorSupport* compositorSupport(); |
void createMessageChannel(blink::WebMessagePortChannel** channel1, |
@@ -85,24 +82,12 @@ class BlinkPlatformImpl : public blink::Platform { |
virtual blink::WebNotificationManager* notificationManager(); |
private: |
- void SuspendSharedTimer(); |
- void ResumeSharedTimer(); |
void UpdateWebThreadTLS(blink::WebThread* thread); |
- void DoTimeout() { |
- if (shared_timer_func_ && !shared_timer_suspended_) |
- shared_timer_func_(); |
- } |
- |
static void DestroyCurrentThread(void*); |
scoped_refptr<base::SingleThreadTaskRunner> main_thread_task_runner_; |
scoped_ptr<scheduler::WebThreadImplForRendererScheduler> main_thread_; |
- base::OneShotTimer<BlinkPlatformImpl> shared_timer_; |
- void (*shared_timer_func_)(); |
- double shared_timer_fire_time_; |
- bool shared_timer_fire_time_was_set_while_suspended_; |
- int shared_timer_suspended_; // counter |
base::ThreadLocalStorage::Slot current_thread_slot_; |
cc_blink::WebCompositorSupportImpl compositor_support_; |
WebThemeEngineImpl theme_engine_; |