summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 23:41:57 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-06 23:41:57 +0000
commit5d80114534c28f69de8abf0d45507f0ec8fda217 (patch)
treed32dc67d55b093cbc186264f8587a11f015ebc0c
parentea29f15e3f53728ed35a02be5a200e37eb0f3f63 (diff)
downloadchromium_src-5d80114534c28f69de8abf0d45507f0ec8fda217.zip
chromium_src-5d80114534c28f69de8abf0d45507f0ec8fda217.tar.gz
chromium_src-5d80114534c28f69de8abf0d45507f0ec8fda217.tar.bz2
Fixes bug in ui_controls_aurax11. A return value of false means
failure. BUG=none TEST=none R=oshima@chromium.org Review URL: http://codereview.chromium.org/8820006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113289 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/automation/ui_controls_aurax11.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/automation/ui_controls_aurax11.cc b/chrome/browser/automation/ui_controls_aurax11.cc
index 3b7a5ee..4f207dc 100644
--- a/chrome/browser/automation/ui_controls_aurax11.cc
+++ b/chrome/browser/automation/ui_controls_aurax11.cc
@@ -150,7 +150,7 @@ bool SendMouseMoveNotifyWhenDone(long x, long y, const base::Closure& closure) {
// Desktop will take care of other necessary fields.
aura::Desktop::GetInstance()->PostNativeEvent(&xevent);
RunClosureAfterAllPendingUIEvents(closure);
- return false;
+ return true;
}
bool SendMouseEvents(MouseButton type, int state) {
@@ -193,7 +193,7 @@ bool SendMouseEventsNotifyWhenDone(MouseButton type,
desktop->PostNativeEvent(&xevent);
}
RunClosureAfterAllPendingUIEvents(closure);
- return false;
+ return true;
}
bool SendMouseClick(MouseButton type) {