Index: cc/trees/layer_tree_host_common.cc |
diff --git a/cc/trees/layer_tree_host_common.cc b/cc/trees/layer_tree_host_common.cc |
index 09882856e55e5dc2727ee9fe6809a1b39ae62094..897c1246c8cf134c79ebd4ab416cec1e8895a767 100644 |
--- a/cc/trees/layer_tree_host_common.cc |
+++ b/cc/trees/layer_tree_host_common.cc |
@@ -1359,6 +1359,12 @@ void LayerTreeHostCommon::PreCalculateMetaInformation(Layer* root_layer) { |
PreCalculateMetaInformationInternal(root_layer, &recursive_data); |
} |
+void LayerTreeHostCommon::PreCalculateMetaInformationForTesting( |
+ LayerImpl* root_layer) { |
+ PreCalculateMetaInformationRecursiveData recursive_data; |
+ PreCalculateMetaInformationInternal(root_layer, &recursive_data); |
+} |
+ |
template <typename LayerType> |
struct SubtreeGlobals { |
int max_texture_size; |