Index: ui/compositor/debug_utils.cc |
diff --git a/ui/compositor/debug_utils.cc b/ui/compositor/debug_utils.cc |
index b9ee5ce2cc8e96e6633a6d8228005d4b71541645..e1f62f9d42deb51d7715d3755eb7cc5ae727ea3c 100644 |
--- a/ui/compositor/debug_utils.cc |
+++ b/ui/compositor/debug_utils.cc |
@@ -29,7 +29,7 @@ void PrintLayerHierarchyImp(const Layer* layer, |
std::wostringstream* out) { |
std::string indent_str(indent, ' '); |
- layer->transform().TransformPointReverse(mouse_location); |
+ layer->transform().TransformPointReverse(&mouse_location); |
bool mouse_inside_layer_bounds = layer->bounds().Contains(mouse_location); |
mouse_location.Offset(-layer->bounds().x(), -layer->bounds().y()); |