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

Unified Diff: cc/trees/layer_tree_host.h

Issue 1921503005: cc: Move main thread hierarchy dependencies into PropertyTreeBuilder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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/draw_property_utils.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 41741d12d1b9dd0500a382fd57d4576bf4ec10d0..63208b4e578c46ffa5a38107a9c5cfdb7cb290a3 100644
--- a/cc/trees/layer_tree_host.h
+++ b/cc/trees/layer_tree_host.h
@@ -149,6 +149,8 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
LayerListIterator<Layer> begin();
LayerListIterator<Layer> end();
+ const LayerListIterator<Layer> begin() const;
+ const LayerListIterator<Layer> end() const;
LayerListReverseIterator<Layer> rbegin();
LayerListReverseIterator<Layer> rend();
@@ -171,18 +173,10 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
int source_frame_number() const { return source_frame_number_; }
- int meta_information_sequence_number() {
- return meta_information_sequence_number_;
- }
-
bool gpu_rasterization_histogram_recorded() const {
return gpu_rasterization_histogram_recorded_;
}
- void IncrementMetaInformationSequenceNumber() {
- meta_information_sequence_number_++;
- }
-
void SetNeedsDisplayOnAllLayers();
void SetOutputIsSecure(bool output_is_secure);
@@ -510,7 +504,6 @@ class CC_EXPORT LayerTreeHost : public MutatorHostClient {
std::unique_ptr<TaskRunnerProvider> task_runner_provider_;
int source_frame_number_;
- int meta_information_sequence_number_;
std::unique_ptr<RenderingStatsInstrumentation>
rendering_stats_instrumentation_;
« no previous file with comments | « cc/trees/draw_property_utils.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698