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

Unified Diff: cc/trees/layer_tree_host_in_process.h

Issue 2641023002: cc: Remove ReflectedMainFrameState. (Closed)
Patch Set: Created 3 years, 11 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_tree_host_common.cc ('k') | cc/trees/layer_tree_host_in_process.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_in_process.h
diff --git a/cc/trees/layer_tree_host_in_process.h b/cc/trees/layer_tree_host_in_process.h
index 27fd5e9dcb00cf5e5fd30caadc893fc43b811216..dd7ecc26aa7cd8aa60066603f7176726d5d1d9de 100644
--- a/cc/trees/layer_tree_host_in_process.h
+++ b/cc/trees/layer_tree_host_in_process.h
@@ -54,10 +54,8 @@ class LayerTreeHostImplClient;
class LayerTreeHostSingleThreadClient;
class LayerTreeMutator;
class MutatorHost;
-class PropertyTrees;
class RenderingStatsInstrumentation;
class TaskGraphRunner;
-struct ReflectedMainFrameState;
struct RenderingStats;
struct ScrollAndScaleSet;
@@ -159,13 +157,6 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost {
void DidCompletePageScaleAnimation();
void ApplyScrollAndScale(ScrollAndScaleSet* info);
- void SetReflectedMainFrameState(
- std::unique_ptr<ReflectedMainFrameState> reflected_main_frame_state);
- const ReflectedMainFrameState* reflected_main_frame_state_for_testing()
- const {
- return reflected_main_frame_state_.get();
- }
-
LayerTreeHostClient* client() { return client_; }
bool gpu_rasterization_histogram_recorded() const {
@@ -291,15 +282,6 @@ class CC_EXPORT LayerTreeHostInProcess : public LayerTreeHost {
SurfaceSequenceGenerator surface_sequence_generator_;
uint32_t num_consecutive_frames_suitable_for_gpu_ = 0;
- // The state that was expected to be reflected from the main thread during
- // BeginMainFrame, but could not be done. The client provides these deltas
- // to use during the commit instead of applying them at that point because
- // its necessary for these deltas to be applied *after* PropertyTrees are
- // built/updated on the main thread.
- // TODO(khushalsagar): Investigate removing this after SPV2, since then we
- // should get these PropertyTrees directly from blink?
- std::unique_ptr<ReflectedMainFrameState> reflected_main_frame_state_;
-
scoped_refptr<base::SequencedTaskRunner> image_worker_task_runner_;
DISALLOW_COPY_AND_ASSIGN(LayerTreeHostInProcess);
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | cc/trees/layer_tree_host_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698