diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 23:50:29 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-13 23:50:29 +0000 |
commit | 15dd444240b02b3f4e37e501b43cbbe8d975e63e (patch) | |
tree | ef8010970f23fe982d3b0cbbfd262d7ee31fa589 /chrome | |
parent | 7a613e3ae4aa9feaa45b93b547dcbe01177808c8 (diff) | |
download | chromium_src-15dd444240b02b3f4e37e501b43cbbe8d975e63e.zip chromium_src-15dd444240b02b3f4e37e501b43cbbe8d975e63e.tar.gz chromium_src-15dd444240b02b3f4e37e501b43cbbe8d975e63e.tar.bz2 |
I changed an OS_WIN to TOOLKIT_VIEWS. The buildbot doesn't like it. Why don't we have a trybot for linux views.
TBR=tony
Review URL: http://codereview.chromium.org/165505
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23393 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/automation/automation_provider.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/chrome/browser/automation/automation_provider.cc b/chrome/browser/automation/automation_provider.cc index c637311..c4ea434 100644 --- a/chrome/browser/automation/automation_provider.cc +++ b/chrome/browser/automation/automation_provider.cc @@ -1490,7 +1490,7 @@ void AutomationProvider::WindowGetViewBounds(int handle, int view_id, gfx::NativeWindow window = window_tracker_->GetResource(handle); if (window) { -#if defined(TOOLKIT_VIEWS) +#if defined(OS_WIN) views::RootView* root_view = views::WidgetWin::FindRootView(window); if (root_view) { views::View* view = root_view->GetViewByID(view_id); @@ -1512,7 +1512,6 @@ void AutomationProvider::WindowGetViewBounds(int handle, int view_id, } #if defined(OS_WIN) - // This task enqueues a mouse event on the event loop, so that the view // that it's being sent to can do the requisite post-processing. class MouseEventTask : public Task { |