Index: cc/test/layer_tree_test.cc |
diff --git a/cc/test/layer_tree_test.cc b/cc/test/layer_tree_test.cc |
index 3c6ff57baeaebe5bf0f899ffd2557d842c06d77a..faa45beda91eff42333a08c2d8ea6accb60d8389 100644 |
--- a/cc/test/layer_tree_test.cc |
+++ b/cc/test/layer_tree_test.cc |
@@ -878,4 +878,9 @@ void LayerTreeTest::DestroyLayerTreeHost() { |
layer_tree_host_ = nullptr; |
} |
+LayerTreeHost* LayerTreeTest::layer_tree_host() { |
+ DCHECK(!proxy() || proxy()->IsMainThread() || proxy()->IsMainThreadBlocked()); |
danakj
2015/03/19 16:37:44
when is proxy null? can you say it in a comment?
|
+ return layer_tree_host_.get(); |
+} |
+ |
} // namespace cc |