Chromium Code Reviews| Index: ash/accelerators/accelerator_controller.cc |
| diff --git a/ash/accelerators/accelerator_controller.cc b/ash/accelerators/accelerator_controller.cc |
| index fa8192731902c46b30ceb9f4b9bfd183d92c1ff0..4c8767728ba799f1cf024a0aec68949d032c3db4 100644 |
| --- a/ash/accelerators/accelerator_controller.cc |
| +++ b/ash/accelerators/accelerator_controller.cc |
| @@ -172,21 +172,21 @@ bool HandlePrintLayerHierarchy() { |
| void PrintWindowHierarchy(aura::Window* window, int indent) { |
| std::string indent_str(indent, ' '); |
| - VLOG(1) << indent_str << window->name() << " type " << window->type() |
| + DLOG(INFO) << indent_str << window->name() << " type " << window->type() |
|
James Cook
2012/05/29 22:04:40
I often forget to run with --v=1 and this code is
Ben Goodger (Google)
2012/05/29 22:30:45
Seems fine.
|
| << (ash::wm::IsActiveWindow(window) ? "active" : ""); |
| for (size_t i = 0; i < window->children().size(); ++i) |
| PrintWindowHierarchy(window->children()[i], indent + 3); |
| } |
| bool HandlePrintWindowHierarchy() { |
| - VLOG(1) << "Window hierarchy:"; |
| + DLOG(INFO) << "Window hierarchy:"; |
| aura::Window* container = ash::Shell::GetInstance()->GetContainer( |
| ash::internal::kShellWindowId_DefaultContainer); |
| PrintWindowHierarchy(container, 0); |
| return true; |
| } |
| -#endif |
| +#endif // !defined(NDEBUG) |
| } // namespace |