| Index: ash/debug.cc
|
| diff --git a/ash/debug.cc b/ash/debug.cc
|
| index 68ff5903f485a9d015572efa9fc66a680e91b9d3..d72b58fcac22257e90d645b985af3452166c0170 100644
|
| --- a/ash/debug.cc
|
| +++ b/ash/debug.cc
|
| @@ -18,7 +18,7 @@ void ToggleShowDebugBorders() {
|
| scoped_ptr<bool> value;
|
| for (aura::Window::Windows::iterator it = root_windows.begin();
|
| it != root_windows.end(); ++it) {
|
| - ui::Compositor* compositor = (*it)->GetDispatcher()->host()->compositor();
|
| + ui::Compositor* compositor = (*it)->GetHost()->compositor();
|
| cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState();
|
| if (!value.get())
|
| value.reset(new bool(!state.show_debug_borders));
|
| @@ -33,7 +33,7 @@ void ToggleShowFpsCounter() {
|
| scoped_ptr<bool> value;
|
| for (aura::Window::Windows::iterator it = root_windows.begin();
|
| it != root_windows.end(); ++it) {
|
| - ui::Compositor* compositor = (*it)->GetDispatcher()->host()->compositor();
|
| + ui::Compositor* compositor = (*it)->GetHost()->compositor();
|
| cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState();
|
| if (!value.get())
|
| value.reset(new bool(!state.show_fps_counter));
|
| @@ -48,7 +48,7 @@ void ToggleShowPaintRects() {
|
| scoped_ptr<bool> value;
|
| for (aura::Window::Windows::iterator it = root_windows.begin();
|
| it != root_windows.end(); ++it) {
|
| - ui::Compositor* compositor = (*it)->GetDispatcher()->host()->compositor();
|
| + ui::Compositor* compositor = (*it)->GetHost()->compositor();
|
| cc::LayerTreeDebugState state = compositor->GetLayerTreeDebugState();
|
| if (!value.get())
|
| value.reset(new bool(!state.show_paint_rects));
|
|
|