Chromium Code Reviews

Unified Diff: cc/trees/layer_tree_host.h

Issue 81533002: Use LatencyInfoSwapPromise to track LatencyInfo through compositor (Closed) Base URL: http://git.chromium.org/chromium/src.git@swap_promise_2
Patch Set: rebase Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index 89c9805e4d9ce7bdc6aabc437218ca436c42acf9..32666e0424e744165e7717929f2c6c484b97ef92 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -37,7 +37,6 @@
#include "cc/trees/occlusion_tracker.h"
#include "cc/trees/proxy.h"
#include "third_party/skia/include/core/SkColor.h"
-#include "ui/events/latency_info.h"
#include "ui/gfx/rect.h"
namespace cc {
@@ -233,7 +232,6 @@ class CC_EXPORT LayerTreeHost {
void ApplyScrollAndScale(const ScrollAndScaleSet& info);
void SetImplTransform(const gfx::Transform& transform);
- void SetLatencyInfo(const ui::LatencyInfo& latency_info);
// Virtual for tests.
virtual void StartRateLimiter();
@@ -417,8 +415,6 @@ class CC_EXPORT LayerTreeHost {
bool in_paint_layer_contents_;
- ui::LatencyInfo latency_info_;
-
static const int kTotalFramesToUseForLCDTextMetrics = 50;
int total_frames_used_for_lcd_text_metrics_;

Powered by Google App Engine