Index: webkit/support/simple_resource_loader_bridge.cc |
diff --git a/webkit/support/simple_resource_loader_bridge.cc b/webkit/support/simple_resource_loader_bridge.cc |
index 49410cf18dd984cd7810762fc4f90840a0aa7a41..ade61858eaa833d2b6101ce2a9c3811c107efb6a 100644 |
--- a/webkit/support/simple_resource_loader_bridge.cc |
+++ b/webkit/support/simple_resource_loader_bridge.cc |
@@ -468,7 +468,7 @@ class RequestProxy |
->blob_storage_controller(), |
static_cast<TestShellRequestContext*>(g_request_context) |
->file_system_context(), |
- base::MessageLoopProxy::current()))); |
+ base::MessageLoopProxy::current().get()))); |
} |
SimpleAppCacheSystem::SetExtraRequestInfo( |
request_.get(), params->appcache_host_id, params->request_type); |
@@ -478,8 +478,9 @@ class RequestProxy |
base::FilePath path; |
if (file_util::CreateTemporaryFile(&path)) { |
downloaded_file_ = ShareableFileReference::GetOrCreate( |
- path, ShareableFileReference::DELETE_ON_FINAL_RELEASE, |
- base::MessageLoopProxy::current()); |
+ path, |
+ ShareableFileReference::DELETE_ON_FINAL_RELEASE, |
+ base::MessageLoopProxy::current().get()); |
file_stream_.reset(new net::FileStream(NULL)); |
file_stream_->OpenSync( |
path, base::PLATFORM_FILE_OPEN | base::PLATFORM_FILE_WRITE); |