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

Unified Diff: content/renderer/renderer_webkitplatformsupport_impl.cc

Issue 7974011: Break large blobs into multiple ipcs during creation. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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/webkit_param_traits.cc ('k') | webkit/blob/blob_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_webkitplatformsupport_impl.cc
===================================================================
--- content/renderer/renderer_webkitplatformsupport_impl.cc (revision 105887)
+++ content/renderer/renderer_webkitplatformsupport_impl.cc (working copy)
@@ -604,9 +604,9 @@
//------------------------------------------------------------------------------
WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() {
- // RenderThreadImpl::current can be NULL when running some tests.
- if (!blob_registry_.get() && RenderThreadImpl::current()) {
- blob_registry_.reset(new WebBlobRegistryImpl(RenderThreadImpl::Get()));
+ // ChildThread::current can be NULL when running some tests.
+ if (!blob_registry_.get() && ChildThread::current()) {
+ blob_registry_.reset(new WebBlobRegistryImpl(ChildThread::current()));
}
return blob_registry_.get();
}
« no previous file with comments | « content/common/webkit_param_traits.cc ('k') | webkit/blob/blob_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698