summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_functional_browsertest.cc
diff options
context:
space:
mode:
authorxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 14:17:11 +0000
committerxhwang@chromium.org <xhwang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-04 14:17:11 +0000
commitdd32b127ce5deac52b24f493dac79195a30bf138 (patch)
treefe41d5b0b6fb1bcff0ccfc87a9f46cefee602723 /content/browser/gpu/gpu_functional_browsertest.cc
parent63b5c710324dc630a663eb76a6a4cc1372322830 (diff)
downloadchromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.zip
chromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.tar.gz
chromium_src-dd32b127ce5deac52b24f493dac79195a30bf138.tar.bz2
content: Use base::MessageLoop.
BUG=236029 R=avi@chromium.org Review URL: https://chromiumcodereview.appspot.com/14335017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@198316 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_functional_browsertest.cc')
-rw-r--r--content/browser/gpu/gpu_functional_browsertest.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/content/browser/gpu/gpu_functional_browsertest.cc b/content/browser/gpu/gpu_functional_browsertest.cc
index a07bbc5..6d31c2a 100644
--- a/content/browser/gpu/gpu_functional_browsertest.cc
+++ b/content/browser/gpu/gpu_functional_browsertest.cc
@@ -85,10 +85,11 @@ class GpuFunctionalTest : public ContentBrowserTest {
bool result = false;
BrowserThread::PostTaskAndReply(
- BrowserThread::IO, FROM_HERE,
+ BrowserThread::IO,
+ FROM_HERE,
base::Bind(&VerifyGPUProcessLaunch, &result),
- MessageLoop::QuitClosure());
- MessageLoop::current()->Run();
+ base::MessageLoop::QuitClosure());
+ base::MessageLoop::current()->Run();
EXPECT_TRUE(result);
}