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

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: add setting to only calculate and verify in cc_unittest Created 4 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
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..07045b1196af27f83adbbc1412671eda0d65056f
--- /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() {
+ this->verify_clip_tree_calculations = true;
ajuma 2016/03/19 00:29:41 Nit: Using 'this' isn't really needed here.
weiliangc 2016/05/11 23:08:08 Done.
+}
+
+LayerTreeSettingsForTesting::~LayerTreeSettingsForTesting() {}
+
+} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698