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

Unified Diff: cc/trees/layer_tree_host.cc

Issue 2331983002: cc: Make LayerTreeHost a protected Layer member. (Closed)
Patch Set: settings Created 4 years, 3 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.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.cc
diff --git a/cc/trees/layer_tree_host.cc b/cc/trees/layer_tree_host.cc
index d9195db13babf66b21893936579d489985569fe2..5f6ea37cfb5a7b82fe30ec64e1908d22927d559c 100644
--- a/cc/trees/layer_tree_host.cc
+++ b/cc/trees/layer_tree_host.cc
@@ -757,20 +757,6 @@ void LayerTreeHost::RecordGpuRasterizationHistogram() {
gpu_rasterization_histogram_recorded_ = true;
}
-void LayerTreeHost::BuildPropertyTreesForTesting() {
- PropertyTreeBuilder::PreCalculateMetaInformation(layer_tree_->root_layer());
- gfx::Transform identity_transform;
- PropertyTreeBuilder::BuildPropertyTrees(
- layer_tree_->root_layer(), layer_tree_->page_scale_layer(),
- layer_tree_->inner_viewport_scroll_layer(),
- layer_tree_->outer_viewport_scroll_layer(),
- layer_tree_->overscroll_elasticity_layer(),
- layer_tree_->elastic_overscroll(), layer_tree_->page_scale_factor(),
- layer_tree_->device_scale_factor(),
- gfx::Rect(layer_tree_->device_viewport_size()), identity_transform,
- layer_tree_->property_trees());
-}
-
bool LayerTreeHost::DoUpdateLayers(Layer* root_layer) {
TRACE_EVENT1("cc", "LayerTreeHost::DoUpdateLayers", "source_frame_number",
SourceFrameNumber());
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_common_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698