Index: chrome/browser/ui/views/frame/browser_frame_ashwin.cc |
diff --git a/chrome/browser/ui/views/frame/browser_frame_ashwin.cc b/chrome/browser/ui/views/frame/browser_frame_ashwin.cc |
index cc3b61970d115c10daff9aa64a081c50bdc7fe30..11349343911aaec158b9d30efb77ac680929d15e 100644 |
--- a/chrome/browser/ui/views/frame/browser_frame_ashwin.cc |
+++ b/chrome/browser/ui/views/frame/browser_frame_ashwin.cc |
@@ -30,7 +30,7 @@ void BrowserFrameAshWin::OnWindowFocused(aura::Window* gained_focus, |
// If the activated window is in Metro mode, and the viewer process window is |
// not in the foreground, activate Metro Chrome. |
- if (!aura::RemoteRootWindowHostWin::Instance()->IsForegroundWindow() && |
+ if (!aura::RemoteWindowTreeHostWin::Instance()->IsForegroundWindow() && |
!browser_shutdown::IsTryingToQuit()) { |
// PostTask because ActivateMetroChrome can not be called nested in another |
// ::SendMessage(). |