| Index: cc/trees/layer_tree_host.h
|
| diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
|
| index d41e73df07482f68fc3922b86576d79e1db326ac..b17b5a4c4a77e2f3f943920bd30e68c95a880bbe 100644
|
| --- a/cc/trees/layer_tree_host.h
|
| +++ b/cc/trees/layer_tree_host.h
|
| @@ -113,7 +113,6 @@ class CC_EXPORT LayerTreeHost {
|
| void WillBeginMainFrame();
|
| void DidBeginMainFrame();
|
| void BeginMainFrame(const BeginFrameArgs& args);
|
| - void BeginMainFrameNotExpectedSoon();
|
| void AnimateLayers(base::TimeTicks monotonic_frame_begin_time);
|
| void DidStopFlinging();
|
| void Layout();
|
| @@ -448,6 +447,20 @@ class CC_EXPORT LayerTreeHost {
|
|
|
| bool in_paint_layer_contents_;
|
|
|
| + static const int kTotalFramesToUseForLCDTextMetrics = 50;
|
| + int total_frames_used_for_lcd_text_metrics_;
|
| +
|
| + struct LCDTextMetrics {
|
| + LCDTextMetrics()
|
| + : total_num_cc_layers(0),
|
| + total_num_cc_layers_can_use_lcd_text(0),
|
| + total_num_cc_layers_will_use_lcd_text(0) {}
|
| +
|
| + int64 total_num_cc_layers;
|
| + int64 total_num_cc_layers_can_use_lcd_text;
|
| + int64 total_num_cc_layers_will_use_lcd_text;
|
| + };
|
| + LCDTextMetrics lcd_text_metrics_;
|
| int id_;
|
| bool next_commit_forces_redraw_;
|
|
|
|
|