summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/external_protocol_dialog.cc
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 20:32:06 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-10 20:32:06 +0000
commit92edc4764d2f311440929ad4dca91f87be3b2f11 (patch)
treef4ba410c3fe7612ee830b326739fba05273a59e2 /chrome/browser/views/external_protocol_dialog.cc
parentea16554e83cab7fe751cac7a0af8eaea3948c512 (diff)
downloadchromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.zip
chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.gz
chromium_src-92edc4764d2f311440929ad4dca91f87be3b2f11.tar.bz2
Switch from HWNDs to NativeViews, take 2. (First attempt was r9409, in which I missed a file.)
Review URL: http://codereview.chromium.org/20226 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9507 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/external_protocol_dialog.cc')
-rw-r--r--chrome/browser/views/external_protocol_dialog.cc2
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;