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

Unified Diff: cc/test/layer_tree_settings_for_testing.cc

Issue 1800923002: cc: Directly use property trees to calculate clip rect (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix perftests compile by not verify clip tree calc there Created 4 years, 7 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/layer_tree_settings_for_testing.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/layer_tree_settings_for_testing.cc
diff --git a/cc/test/layer_tree_settings_for_testing.cc b/cc/test/layer_tree_settings_for_testing.cc
new file mode 100644
index 0000000000000000000000000000000000000000..bcd29aee57eda95de2730b5dd63ebd03a792512d
--- /dev/null
+++ b/cc/test/layer_tree_settings_for_testing.cc
@@ -0,0 +1,16 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "cc/test/layer_tree_settings_for_testing.h"
+
+namespace cc {
+
+LayerTreeSettingsForTesting::LayerTreeSettingsForTesting()
+ : LayerTreeSettings() {
+ verify_clip_tree_calculations = true;
+}
+
+LayerTreeSettingsForTesting::~LayerTreeSettingsForTesting() {}
+
+} // namespace cc
« no previous file with comments | « cc/test/layer_tree_settings_for_testing.h ('k') | cc/test/layer_tree_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698