| Index: ash/debug.cc
|
| diff --git a/ash/debug.cc b/ash/debug.cc
|
| index 9ffce24965c83c8bf5069b2b4de2d09aa6f729b4..4ce6e3f2be5cb64f10735549ad73d6d5100eaada 100644
|
| --- a/ash/debug.cc
|
| +++ b/ash/debug.cc
|
| @@ -14,13 +14,13 @@ namespace debug {
|
|
|
| void ToggleShowDebugBorders() {
|
| aura::Window::Windows root_windows = Shell::Get()->GetAllRootWindows();
|
| - std::unique_ptr<bool> value;
|
| + std::unique_ptr<cc::DebugBorderTypes> value;
|
| for (aura::Window::Windows::iterator it = root_windows.begin();
|
| it != root_windows.end(); ++it) {
|
| ui::Compositor* compositor = (*it)->GetHost()->compositor();
|
| cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState();
|
| if (!value.get())
|
| - value.reset(new bool(!state.show_debug_borders));
|
| + value.reset(new cc::DebugBorderTypes(state.show_debug_borders.flip()));
|
| state.show_debug_borders = *value.get();
|
| compositor->SetLayerTreeDebugState(state);
|
| }
|
|
|