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

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 2655233006: cc : Clean up cc clip tree (Closed)
Patch Set: rebase Created 3 years, 9 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/test/fake_layer_tree_host_impl.h ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_layer_tree_host_impl.cc
diff --git a/cc/test/fake_layer_tree_host_impl.cc b/cc/test/fake_layer_tree_host_impl.cc
index f7909cf516b6f360dc516cfe276141e6923c2e0d..46f5e815a7f449bef6787b5edfa73a3c7135a644 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -9,7 +9,6 @@
#include "cc/animation/animation_host.h"
#include "cc/test/begin_frame_args_test.h"
#include "cc/test/fake_layer_tree_host_impl.h"
-#include "cc/test/layer_tree_settings_for_testing.h"
#include "cc/trees/layer_tree_impl.h"
namespace cc {
@@ -17,7 +16,7 @@ namespace cc {
FakeLayerTreeHostImpl::FakeLayerTreeHostImpl(
TaskRunnerProvider* task_runner_provider,
TaskGraphRunner* task_graph_runner)
- : FakeLayerTreeHostImpl(LayerTreeSettingsForTesting(),
+ : FakeLayerTreeHostImpl(LayerTreeSettings(),
task_runner_provider,
task_graph_runner) {}
@@ -92,20 +91,16 @@ int FakeLayerTreeHostImpl::RecursiveUpdateNumChildren(LayerImpl* layer) {
return num_children_that_draw_content + (layer->DrawsContent() ? 1 : 0);
}
-void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree(
- bool force_skip_verify_visible_rect_calculations) {
- UpdateNumChildrenAndDrawProperties(
- active_tree(), force_skip_verify_visible_rect_calculations);
+void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawPropertiesForActiveTree() {
+ UpdateNumChildrenAndDrawProperties(active_tree());
}
void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties(
- LayerTreeImpl* layerTree,
- bool force_skip_verify_visible_rect_calculations) {
+ LayerTreeImpl* layerTree) {
RecursiveUpdateNumChildren(layerTree->root_layer_for_testing());
bool update_lcd_text = false;
layerTree->BuildLayerListAndPropertyTreesForTesting();
- layerTree->UpdateDrawProperties(update_lcd_text,
- force_skip_verify_visible_rect_calculations);
+ layerTree->UpdateDrawProperties(update_lcd_text);
}
AnimationHost* FakeLayerTreeHostImpl::animation_host() const {
« no previous file with comments | « cc/test/fake_layer_tree_host_impl.h ('k') | cc/test/layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698