Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5091)

Unified Diff: chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
diff --git a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
index ec59957060048c98e586605dd51912298448da24..ee7490a98941dd77b54f1b81b6d4b5848b36ee41 100644
--- a/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
+++ b/chrome/browser/spellchecker/spellcheck_platform_mac_unittest.cc
@@ -19,7 +19,7 @@ class SpellcheckMacTest: public testing::Test {
: callback_(base::Bind(&SpellcheckMacTest::CompletionCallback,
base::Unretained(this))),
callback_finished_(false),
- message_loop_(MessageLoop::TYPE_UI) {}
+ message_loop_(base::MessageLoop::TYPE_UI) {}
void WaitForCallback() {
content::RunMessageLoop();
@@ -31,8 +31,8 @@ class SpellcheckMacTest: public testing::Test {
private:
void QuitMessageLoop() {
- CHECK(MessageLoop::current() == &message_loop_);
- MessageLoop::current()->Quit();
+ CHECK(base::MessageLoop::current() == &message_loop_);
+ base::MessageLoop::current()->Quit();
}
void CompletionCallback(const std::vector<SpellCheckResult>& results) {
@@ -43,7 +43,7 @@ class SpellcheckMacTest: public testing::Test {
base::Unretained(this)));
}
- MessageLoop message_loop_;
+ base::MessageLoop message_loop_;
spellcheck_mac::ScopedEnglishLanguageForTest scoped_language_;
};

Powered by Google App Engine
This is Rietveld 408576698