diff options
Diffstat (limited to 'chrome/browser/views/external_protocol_dialog.cc')
-rw-r--r-- | chrome/browser/views/external_protocol_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/views/external_protocol_dialog.cc b/chrome/browser/views/external_protocol_dialog.cc index 594dfbb..76c1267 100644 --- a/chrome/browser/views/external_protocol_dialog.cc +++ b/chrome/browser/views/external_protocol_dialog.cc @@ -110,7 +110,7 @@ ExternalProtocolDialog::ExternalProtocolDialog(TabContents* tab_contents, kMessageWidth); HWND root_hwnd; if (tab_contents_) { - root_hwnd = GetAncestor(tab_contents_->GetContentHWND(), GA_ROOT); + root_hwnd = GetAncestor(tab_contents_->GetContentNativeView(), GA_ROOT); } else { // Dialog is top level if we don't have a tab_contents associated with us. root_hwnd = NULL; |