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

Unified Diff: content/renderer/pepper/pepper_device_enumeration_host_helper.cc

Issue 14335017: content: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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: content/renderer/pepper/pepper_device_enumeration_host_helper.cc
diff --git a/content/renderer/pepper/pepper_device_enumeration_host_helper.cc b/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
index 26788f88f6fe977ea2f39a4f951d4e275a32a99a..2352673723d867e2e679c05ab7ca8bfc7bf3c65c 100644
--- a/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
+++ b/content/renderer/pepper/pepper_device_enumeration_host_helper.cc
@@ -70,10 +70,13 @@ class PepperDeviceEnumerationHostHelper::ScopedRequest
bool succeeded,
const std::vector<ppapi::DeviceRefData>& devices) {
if (sync_call_) {
- MessageLoop::current()->PostTask(
+ base::MessageLoop::current()->PostTask(
FROM_HERE,
- base::Bind(&ScopedRequest::EnumerateDevicesCallbackBody, AsWeakPtr(),
- request_id, succeeded, devices));
+ base::Bind(&ScopedRequest::EnumerateDevicesCallbackBody,
+ AsWeakPtr(),
+ request_id,
+ succeeded,
+ devices));
} else {
DCHECK_EQ(request_id_, request_id);
callback_.Run(request_id, succeeded, devices);
« no previous file with comments | « content/renderer/pepper/pepper_broker_impl_unittest.cc ('k') | content/renderer/pepper/pepper_graphics_2d_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698