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

Unified Diff: ui/compositor/debug_utils.cc

Issue 2168733002: Splits debug_commands into aura and non-aura parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 5 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: ui/compositor/debug_utils.cc
diff --git a/ui/compositor/debug_utils.cc b/ui/compositor/debug_utils.cc
index 0fa6da712ae0edfd9a0c651ca400bfa7e69df80b..3d4837e392d7b08a5e708167c099f23f62407a2e 100644
--- a/ui/compositor/debug_utils.cc
+++ b/ui/compositor/debug_utils.cc
@@ -109,7 +109,7 @@ void PrintLayerHierarchyImp(const Layer* layer,
} // namespace
-void PrintLayerHierarchy(const Layer* layer, gfx::Point mouse_location) {
+void PrintLayerHierarchy(const Layer* layer, const gfx::Point& mouse_location) {
std::ostringstream out;
out << "Layer hierarchy:\n";
PrintLayerHierarchyImp(layer, 0, mouse_location, &out);

Powered by Google App Engine
This is Rietveld 408576698