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

Unified Diff: chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc

Issue 3940002: Use scoped_refptr for refcounted param in DomStorageDispatcherHost. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc
diff --git a/chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc b/chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc
index 8e2ad99f972c08938c279f317acde2eeea05600d..9e8bcb93d12f61c878aaf6d853d54c2095f77d60 100644
--- a/chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc
+++ b/chrome/browser/in_process_webkit/dom_storage_dispatcher_host.cc
@@ -153,7 +153,8 @@ void DOMStorageDispatcherHost::OnStorageAreaId(int64 namespace_id,
resource_message_filter_->GetRequestContextForURL(GURL(origin));
BrowserThread::PostTask(BrowserThread::WEBKIT, FROM_HERE, NewRunnableMethod(
this, &DOMStorageDispatcherHost::OnStorageAreaIdWebKit, namespace_id,
- origin, reply_msg, url_request_context->host_content_settings_map()));
+ origin, reply_msg,
+ make_scoped_refptr(url_request_context->host_content_settings_map())));
}
void DOMStorageDispatcherHost::OnStorageAreaIdWebKit(
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698