summaryrefslogtreecommitdiffstats
path: root/content/renderer/device_orientation
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 19:34:00 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 19:34:00 +0000
commit166f2ed8f748b4b910db4b20b7f5d35ef41e209c (patch)
treec9ab93eac521aee1577db71616205137339bf381 /content/renderer/device_orientation
parent030a4809dc6fbb95753fb11faa99bc07c8eb1f6f (diff)
downloadchromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.zip
chromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.tar.gz
chromium_src-166f2ed8f748b4b910db4b20b7f5d35ef41e209c.tar.bz2
MessageLoop(TYPE_UI) -> MessageLoopForUI
Converts creation of MessageLoopForUI from MessageLoop(TYPE_UI) to MessageLoopForUI. This is a step in the direction of moving type out of MessageLoop. BUG=none TEST=none R=darin@chromium.org Review URL: https://codereview.chromium.org/108713004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241917 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/device_orientation')
-rw-r--r--content/renderer/device_orientation/device_motion_event_pump_unittest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/content/renderer/device_orientation/device_motion_event_pump_unittest.cc b/content/renderer/device_orientation/device_motion_event_pump_unittest.cc
index 6cb78b6..09bf34d 100644
--- a/content/renderer/device_orientation/device_motion_event_pump_unittest.cc
+++ b/content/renderer/device_orientation/device_motion_event_pump_unittest.cc
@@ -57,7 +57,7 @@ class DeviceMotionEventPumpForTesting : public DeviceMotionEventPump {
#define MAYBE_DidStartPolling DidStartPolling
#endif
TEST_F(DeviceMotionEventPumpTest, MAYBE_DidStartPolling) {
- base::MessageLoop loop(base::MessageLoop::TYPE_UI);
+ base::MessageLoopForUI loop;
scoped_ptr<MockDeviceMotionListener> listener(new MockDeviceMotionListener);
scoped_ptr<DeviceMotionEventPumpForTesting> motion_pump(
new DeviceMotionEventPumpForTesting);
@@ -114,7 +114,7 @@ TEST_F(DeviceMotionEventPumpTest, MAYBE_DidStartPolling) {
DidStartPollingNotAllSensorsActive
#endif
TEST_F(DeviceMotionEventPumpTest, MAYBE_DidStartPollingNotAllSensorsActive) {
- base::MessageLoop loop(base::MessageLoop::TYPE_UI);
+ base::MessageLoopForUI loop;
scoped_ptr<MockDeviceMotionListener> listener(new MockDeviceMotionListener);
scoped_ptr<DeviceMotionEventPumpForTesting> motion_pump(
new DeviceMotionEventPumpForTesting);