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-09 20:20:47 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-09 20:20:47 +0000
commitd50cca412ec42dd9ccbc33cc38d1f7021a54b4fb (patch)
tree6cd4024bd99e5508b5e8226758924c1973210664 /chrome/browser/views/external_protocol_dialog.cc
parentc3826037cbcb22fe784a10589061eaf084818727 (diff)
downloadchromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.zip
chromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.tar.gz
chromium_src-d50cca412ec42dd9ccbc33cc38d1f7021a54b4fb.tar.bz2
Switch from HWNDs to NativeViews.
Review URL: http://codereview.chromium.org/21143 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9409 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;