diff options
author | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 18:23:44 +0000 |
---|---|---|
committer | kuchhal@chromium.org <kuchhal@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-02-10 18:23:44 +0000 |
commit | 7a2c14224b1e53691c2846a0f84cb5f5fcabfc69 (patch) | |
tree | 2739ae86e9b52875014133fb81d5e6e18ec4fed4 /chrome/browser/jsmessage_box_handler_win.cc | |
parent | 7db46a1fd14a4f3e2e16a7b913e44c471f354ee1 (diff) | |
download | chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.zip chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.gz chromium_src-7a2c14224b1e53691c2846a0f84cb5f5fcabfc69.tar.bz2 |
Try reverting r9409 to see if it fixes crashes on chromebot.
TBR=avi
Review URL: http://codereview.chromium.org/21215
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/jsmessage_box_handler_win.cc')
-rw-r--r-- | chrome/browser/jsmessage_box_handler_win.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/jsmessage_box_handler_win.cc b/chrome/browser/jsmessage_box_handler_win.cc index 3497838..bf586e5 100644 --- a/chrome/browser/jsmessage_box_handler_win.cc +++ b/chrome/browser/jsmessage_box_handler_win.cc @@ -153,7 +153,7 @@ void JavascriptMessageBoxHandler::ShowModalDialog() { } web_contents_->Activate(); - HWND root_hwnd = GetAncestor(web_contents_->GetNativeView(), GA_ROOT); + HWND root_hwnd = GetAncestor(web_contents_->GetContainerHWND(), GA_ROOT); dialog_ = views::Window::CreateChromeWindow(root_hwnd, gfx::Rect(), this); dialog_->Show(); } |