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

Unified Diff: content/common/fileapi/webblobregistry_impl.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
« no previous file with comments | « content/common/child_thread.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/fileapi/webblobregistry_impl.cc
diff --git a/content/common/fileapi/webblobregistry_impl.cc b/content/common/fileapi/webblobregistry_impl.cc
index c65768459f316da3c4575d00b33903ea88707745..529d7acaaeb3bbf113e6a5e0b9816aa4bbd89584 100644
--- a/content/common/fileapi/webblobregistry_impl.cc
+++ b/content/common/fileapi/webblobregistry_impl.cc
@@ -31,7 +31,8 @@ WebBlobRegistryImpl::~WebBlobRegistryImpl() {
void WebBlobRegistryImpl::registerBlobURL(
const WebURL& url, WebBlobData& data) {
- DCHECK(ChildThread::current()->message_loop() == MessageLoop::current());
+ DCHECK(ChildThread::current()->message_loop() ==
+ base::MessageLoop::current());
const size_t kLargeThresholdBytes = 250 * 1024;
const size_t kMaxSharedMemoryBytes = 10 * 1024 * 1024;
@@ -111,12 +112,14 @@ void WebBlobRegistryImpl::registerBlobURL(
void WebBlobRegistryImpl::registerBlobURL(
const WebURL& url, const WebURL& src_url) {
- DCHECK(ChildThread::current()->message_loop() == MessageLoop::current());
+ DCHECK(ChildThread::current()->message_loop() ==
+ base::MessageLoop::current());
sender_->Send(new BlobHostMsg_CloneBlob(url, src_url));
}
void WebBlobRegistryImpl::unregisterBlobURL(const WebURL& url) {
- DCHECK(ChildThread::current()->message_loop() == MessageLoop::current());
+ DCHECK(ChildThread::current()->message_loop() ==
+ base::MessageLoop::current());
sender_->Send(new BlobHostMsg_RemoveBlob(url));
}
« no previous file with comments | « content/common/child_thread.cc ('k') | content/common/gpu/client/gpu_channel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698