Index: chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
diff --git a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
index 9e182989d2bdd0ff756e523be7dbbf2bd9de40c3..ee5f3e4e35213a20e50a493df8e79d330004c38d 100644 |
--- a/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
+++ b/chrome/browser/ui/views/omnibox/omnibox_view_win.cc |
@@ -1742,7 +1742,7 @@ LRESULT OmniboxViewWin::OnMouseActivate(HWND window, |
if (gaining_focus_) { |
// On Windows 8 in metro mode, we get two WM_MOUSEACTIVATE messages when |
// we click on the omnibox with the mouse. |
- DCHECK(base::win::IsMetroProcess()); |
+ DCHECK(win8::IsSingleWindowMetroMode()); |
cpu_(ooo_6.6-7.5)
2012/12/03 20:56:26
not familiar with this change, again consider this
gab
2012/12/04 00:19:06
This was added by ananta in https://codereview.chr
cpu_(ooo_6.6-7.5)
2012/12/04 01:17:39
Like I said, all other things equal you should pre
gab
2012/12/04 18:47:42
Ok, leaving out for now.
gab
2012/12/04 19:04:31
Reconsidered, leaving it in since this file isn't
|
return result; |
} |
gaining_focus_.reset(new ScopedFreeze(this, GetTextObjectModel())); |