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

Unified Diff: content/browser/worker_host/worker_storage_partition.cc

Issue 16294003: Update content/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased 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 | « content/browser/worker_host/worker_process_host.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/worker_host/worker_storage_partition.cc
diff --git a/content/browser/worker_host/worker_storage_partition.cc b/content/browser/worker_host/worker_storage_partition.cc
index c7ecf8e744545d24c9430ab3c38911d5dd05e0a3..2c9105721f37c94cae12d9ce0fee5db3e930fbd7 100644
--- a/content/browser/worker_host/worker_storage_partition.cc
+++ b/content/browser/worker_host/worker_storage_partition.cc
@@ -45,13 +45,14 @@ const WorkerStoragePartition& WorkerStoragePartition::operator=(
bool WorkerStoragePartition::Equals(
const WorkerStoragePartition& other) const {
- return url_request_context_ == other.url_request_context_ &&
- media_url_request_context_ == other.media_url_request_context_ &&
- appcache_service_ == other.appcache_service_ &&
- quota_manager_ == other.quota_manager_ &&
- filesystem_context_ == other.filesystem_context_ &&
- database_tracker_ == other.database_tracker_ &&
- indexed_db_context_ == other.indexed_db_context_;
+ return url_request_context_.get() == other.url_request_context_.get() &&
+ media_url_request_context_.get() ==
+ other.media_url_request_context_.get() &&
+ appcache_service_.get() == other.appcache_service_.get() &&
+ quota_manager_.get() == other.quota_manager_.get() &&
+ filesystem_context_.get() == other.filesystem_context_.get() &&
+ database_tracker_.get() == other.database_tracker_.get() &&
+ indexed_db_context_.get() == other.indexed_db_context_.get();
}
WorkerStoragePartition::~WorkerStoragePartition() {
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | content/common/child_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698