summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-18 21:39:55 +0000
committerben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-18 21:39:55 +0000
commit0a6fb3f3f53c419a780d3cbd71b54d8056e9b31e (patch)
tree5e93f394d7de3e3950b6dbcb78f737758b6656e6 /chrome
parentfe92e4e260604d627ca0aa79b4b2d619ee42183d (diff)
downloadchromium_src-0a6fb3f3f53c419a780d3cbd71b54d8056e9b31e.zip
chromium_src-0a6fb3f3f53c419a780d3cbd71b54d8056e9b31e.tar.gz
chromium_src-0a6fb3f3f53c419a780d3cbd71b54d8056e9b31e.tar.bz2
fix bustage
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/automation/automation_provider.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc
index e3ff56a..e11a3ce 100644
--- a/chrome/browser/automation/automation_provider.cc
+++ b/chrome/browser/automation/automation_provider.cc
@@ -1330,7 +1330,8 @@ void AutomationProvider::WindowSimulateDrag(const IPC::Message& message,
Browser* browser = browser_tracker_->GetResource(handle);
DCHECK(browser);
- HWND top_level_hwnd = browser->GetTopLevelHWND();
+ HWND top_level_hwnd =
+ reinterpret_cast<HWND>(browser->window()->GetNativeHandle());
POINT temp = drag_path[0];
MapWindowPoints(top_level_hwnd, HWND_DESKTOP, &temp, 1);
SetCursorPos(temp.x, temp.y);