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

Unified Diff: cc/test/fake_layer_tree_host_impl.cc

Issue 465853004: Moving RenderSurface creation outside of CalcDrawProps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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/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 0505bbd9b9e79e8675971f30c93731a9d4e22713..bb5ec0d0ab67f5770394e0c99fe95c80b07a4e97 100644
--- a/cc/test/fake_layer_tree_host_impl.cc
+++ b/cc/test/fake_layer_tree_host_impl.cc
@@ -84,4 +84,8 @@ void FakeLayerTreeHostImpl::UpdateNumChildrenAndDrawProperties(
layerTree->UpdateDrawProperties();
}
+bool FakeLayerTreeHostImpl::IsTesting() {
+ return true;
+}
+
} // namespace cc

Powered by Google App Engine
This is Rietveld 408576698