summaryrefslogtreecommitdiffstats
path: root/remoting/host/host_mock_objects.cc
diff options
context:
space:
mode:
authorajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-19 00:32:44 +0000
committerajwong@chromium.org <ajwong@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-19 00:32:44 +0000
commit7b398be3d0a34cb44dff6c45a6842f4ab4c1116e (patch)
tree3ca8fa89c3fa907eda6fde8c3e922cc9c54d5783 /remoting/host/host_mock_objects.cc
parent39c9b9cd2230207b23e581a3f0307c6bd25676aa (diff)
downloadchromium_src-7b398be3d0a34cb44dff6c45a6842f4ab4c1116e.zip
chromium_src-7b398be3d0a34cb44dff6c45a6842f4ab4c1116e.tar.gz
chromium_src-7b398be3d0a34cb44dff6c45a6842f4ab4c1116e.tar.bz2
Run event executor on the ui thread to remove the need to explicitly XFlush() the XTest calls.
BUG=none TEST=Connect to a host and try moving the mouse and typing. Both inputs should be reflected correctly. Review URL: http://codereview.chromium.org/6489031 Patch from Jamie Walch <jamiewalch@chromium.org>. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75477 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/host/host_mock_objects.cc')
-rw-r--r--remoting/host/host_mock_objects.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/remoting/host/host_mock_objects.cc b/remoting/host/host_mock_objects.cc
index 8cfddec..d4d51a5 100644
--- a/remoting/host/host_mock_objects.cc
+++ b/remoting/host/host_mock_objects.cc
@@ -10,7 +10,8 @@ MockCapturer::MockCapturer() : Capturer(NULL) {}
MockCapturer::~MockCapturer() {}
-MockChromotingHostContext::MockChromotingHostContext() {}
+MockChromotingHostContext::MockChromotingHostContext()
+ : ChromotingHostContext(NULL) {}
MockChromotingHostContext::~MockChromotingHostContext() {}