| Index: ui/aura/window_tree_host_platform.cc
|
| diff --git a/ui/aura/window_tree_host_platform.cc b/ui/aura/window_tree_host_platform.cc
|
| index ffaac30b0ca64b933647887e93929052afa27a39..0ec5a8639e7472141f255133beacbbf86d8803d1 100644
|
| --- a/ui/aura/window_tree_host_platform.cc
|
| +++ b/ui/aura/window_tree_host_platform.cc
|
| @@ -168,6 +168,12 @@ void WindowTreeHostPlatform::OnAcceleratedWidgetAvailable(
|
| WindowTreeHost::OnAcceleratedWidgetAvailable();
|
| }
|
|
|
| +void WindowTreeHostPlatform::OnAcceleratedWidgetDestroyed() {
|
| + gfx::AcceleratedWidget widget = compositor()->ReleaseAcceleratedWidget();
|
| + DCHECK_EQ(widget, widget_);
|
| + widget_ = gfx::kNullAcceleratedWidget;
|
| +}
|
| +
|
| void WindowTreeHostPlatform::OnActivationChanged(bool active) {
|
| if (active)
|
| OnHostActivated();
|
|
|