From 166f2ed8f748b4b910db4b20b7f5d35ef41e209c Mon Sep 17 00:00:00 2001 From: "sky@chromium.org" Date: Thu, 19 Dec 2013 19:34:00 +0000 Subject: 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 --- content/browser/renderer_host/text_input_client_mac_unittest.mm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'content/browser/renderer_host') diff --git a/content/browser/renderer_host/text_input_client_mac_unittest.mm b/content/browser/renderer_host/text_input_client_mac_unittest.mm index 0993018..fa1894f 100644 --- a/content/browser/renderer_host/text_input_client_mac_unittest.mm +++ b/content/browser/renderer_host/text_input_client_mac_unittest.mm @@ -35,8 +35,7 @@ class MockRenderWidgetHostDelegate : public RenderWidgetHostDelegate { class TextInputClientMacTest : public testing::Test { public: TextInputClientMacTest() - : message_loop_(base::MessageLoop::TYPE_UI), - browser_context_(), + : browser_context_(), process_factory_(), delegate_(), widget_(&delegate_, @@ -74,7 +73,7 @@ class TextInputClientMacTest : public testing::Test { private: friend class ScopedTestingThread; - base::MessageLoop message_loop_; + base::MessageLoopForUI message_loop_; TestBrowserContext browser_context_; // Gets deleted when the last RWH in the "process" gets destroyed. -- cgit v1.1