Index: cc/trees/layer_tree_host.cc |
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc |
index 2572cd6df23fdc743abdefbf46b397f044c33c3b..6c6735f308abb9a635bd82f4b5e51939efa748d5 100644 |
--- a/cc/trees/layer_tree_host.cc |
+++ b/cc/trees/layer_tree_host.cc |
@@ -855,30 +855,6 @@ void LayerTreeHost::ApplyScrollAndScale(ScrollAndScaleSet* info) { |
} |
} |
-void LayerTreeHost::StartRateLimiter() { |
- if (inside_begin_main_frame_) |
- return; |
- |
- if (!rate_limit_timer_.IsRunning()) { |
- rate_limit_timer_.Start(FROM_HERE, |
- base::TimeDelta(), |
- this, |
- &LayerTreeHost::RateLimit); |
- } |
-} |
- |
-void LayerTreeHost::StopRateLimiter() { |
- rate_limit_timer_.Stop(); |
-} |
- |
-void LayerTreeHost::RateLimit() { |
- // Force a no-op command on the compositor context, so that any ratelimiting |
- // commands will wait for the compositing context, and therefore for the |
- // SwapBuffers. |
- proxy_->ForceSerializeOnSwapBuffers(); |
- client_->RateLimitSharedMainThreadContext(); |
-} |
- |
void LayerTreeHost::SetDeviceScaleFactor(float device_scale_factor) { |
if (device_scale_factor == device_scale_factor_) |
return; |