Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 4df38079d7e90d537a30baacd0557964e6af7b1b..4fc8647c3a098899d891fea90f2fd5a6261e72b8 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -3111,7 +3111,7 @@ std::string LayerTreeHostImpl::LayerTreeAsJson() const { |
if (active_tree_->root_layer()) { |
scoped_ptr<base::Value> json(active_tree_->root_layer()->LayerTreeAsJson()); |
base::JSONWriter::WriteWithOptions( |
- json.get(), base::JSONWriter::OPTIONS_PRETTY_PRINT, &str); |
+ *json, base::JSONWriter::OPTIONS_PRETTY_PRINT, &str); |
} |
return str; |
} |