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

Unified Diff: cc/trees/layer_tree_host.h

Issue 952893003: Update from https://crrev.com/317530 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix gn for nacl Created 5 years, 10 months 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
« no previous file with comments | « cc/trees/layer_sorter_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index b17b5a4c4a77e2f3f943920bd30e68c95a880bbe..d41e73df07482f68fc3922b86576d79e1db326ac 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -113,6 +113,7 @@ 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();
@@ -447,20 +448,6 @@ 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_;
« no previous file with comments | « cc/trees/layer_sorter_unittest.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698