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

Unified Diff: ppapi/proxy/proxy_completion_callback_factory.h

Issue 14273043: ppapi: Use base::MessageLoop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments 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
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/proxy_completion_callback_factory.h
diff --git a/ppapi/proxy/proxy_completion_callback_factory.h b/ppapi/proxy/proxy_completion_callback_factory.h
index 1221f4314ac79b8603f18430dd7feb023feae209..9e3ab88a514c5f638e81f62b567710d707be21eb 100644
--- a/ppapi/proxy/proxy_completion_callback_factory.h
+++ b/ppapi/proxy/proxy_completion_callback_factory.h
@@ -21,26 +21,26 @@ class ProxyNonThreadSafeThreadTraits {
public:
RefCount() : ref_(0) {
#ifndef NDEBUG
- message_loop_ = MessageLoop::current();
+ message_loop_ = base::MessageLoop::current();
#endif
}
~RefCount() {
#ifndef NDEBUG
- DCHECK(message_loop_ == MessageLoop::current());
+ DCHECK(message_loop_ == base::MessageLoop::current());
#endif
}
int32_t AddRef() {
#ifndef NDEBUG
- DCHECK(message_loop_ == MessageLoop::current());
+ DCHECK(message_loop_ == base::MessageLoop::current());
#endif
return ++ref_;
}
int32_t Release() {
#ifndef NDEBUG
- DCHECK(message_loop_ == MessageLoop::current());
+ DCHECK(message_loop_ == base::MessageLoop::current());
#endif
DCHECK(ref_ > 0);
return --ref_;
@@ -49,7 +49,7 @@ class ProxyNonThreadSafeThreadTraits {
private:
int32_t ref_;
#ifndef NDEBUG
- MessageLoop* message_loop_;
+ base::MessageLoop* message_loop_;
#endif
};
« no previous file with comments | « ppapi/proxy/ppb_var_deprecated_proxy.cc ('k') | ppapi/shared_impl/resource_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698