summaryrefslogtreecommitdiffstats
path: root/win8/test
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 14:28:28 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 14:28:28 +0000
commita3b041c9461bafc70e1b5de429a40fb6a6bc300b (patch)
treefc3884b6768e4f875e2018217207bde834415b4f /win8/test
parent2e8f4677c5a2885ba9af9c322827c5a487b7ad60 (diff)
downloadchromium_src-a3b041c9461bafc70e1b5de429a40fb6a6bc300b.zip
chromium_src-a3b041c9461bafc70e1b5de429a40fb6a6bc300b.tar.gz
chromium_src-a3b041c9461bafc70e1b5de429a40fb6a6bc300b.tar.bz2
win8: Use base::MessageLoop.
BUG=236029 R=ananta@chromium.org Review URL: https://chromiumcodereview.appspot.com/14520027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198323 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'win8/test')
-rw-r--r--win8/test/open_with_dialog_controller.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/win8/test/open_with_dialog_controller.cc b/win8/test/open_with_dialog_controller.cc
index 4ae24f0..1524a0d 100644
--- a/win8/test/open_with_dialog_controller.cc
+++ b/win8/test/open_with_dialog_controller.cc
@@ -267,14 +267,15 @@ HRESULT OpenWithDialogController::RunSynchronously(
const string16& protocol,
const string16& program,
std::vector<string16>* choices) {
- DCHECK_EQ(MessageLoop::current(), static_cast<MessageLoop*>(NULL));
+ DCHECK_EQ(base::MessageLoop::current(),
+ static_cast<base::MessageLoop*>(NULL));
if (base::win::GetVersion() < base::win::VERSION_WIN8) {
NOTREACHED() << "Windows 8 is required.";
return E_FAIL;
}
HRESULT result = S_OK;
- MessageLoop message_loop;
+ base::MessageLoop message_loop;
base::RunLoop run_loop;
message_loop.PostTask(