summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/toolbar_view.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/toolbar_view.cc')
-rw-r--r--chrome/browser/views/toolbar_view.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/views/toolbar_view.cc b/chrome/browser/views/toolbar_view.cc
index 710c330..6b8e048 100644
--- a/chrome/browser/views/toolbar_view.cc
+++ b/chrome/browser/views/toolbar_view.cc
@@ -390,7 +390,7 @@ void BrowserToolbarView::DidGainFocus() {
view_index = acc_focused_view_->GetID();
}
- HWND hwnd = GetWidget()->GetHWND();
+ HWND hwnd = GetWidget()->GetNativeView();
// Notify Access Technology that there was a change in keyboard focus.
::NotifyWinEvent(EVENT_OBJECT_FOCUS, hwnd, OBJID_CLIENT,
@@ -463,7 +463,7 @@ bool BrowserToolbarView::OnKeyPressed(const views::KeyEvent& e) {
// Retrieve information to generate an MSAA focus event.
int view_id = acc_focused_view_->GetID();
- HWND hwnd = GetWidget()->GetHWND();
+ HWND hwnd = GetWidget()->GetNativeView();
// Show the tooltip for the view that got the focus.
if (GetWidget()->GetTooltipManager()) {