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

Unified Diff: webkit/dom_storage/dom_storage_area.cc

Issue 16155009: Update webkit/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: webkit/dom_storage/dom_storage_area.cc
diff --git a/webkit/dom_storage/dom_storage_area.cc b/webkit/dom_storage/dom_storage_area.cc
index 269f3f795af74320c8aaa6d16645a7ed48e8d442..24ee1556899a1b779c254b331ffa3403067be812 100644
--- a/webkit/dom_storage/dom_storage_area.cc
+++ b/webkit/dom_storage/dom_storage_area.cc
@@ -201,9 +201,11 @@ DomStorageArea* DomStorageArea::ShallowCopy(
DCHECK_NE(kLocalStorageNamespaceId, namespace_id_);
DCHECK_NE(kLocalStorageNamespaceId, destination_namespace_id);
- DomStorageArea* copy = new DomStorageArea(
- destination_namespace_id, destination_persistent_namespace_id, origin_,
- session_storage_backing_, task_runner_);
+ DomStorageArea* copy = new DomStorageArea(destination_namespace_id,
+ destination_persistent_namespace_id,
+ origin_,
+ session_storage_backing_.get(),
+ task_runner_.get());
copy->map_ = map_;
copy->is_shutdown_ = is_shutdown_;
copy->is_initial_import_done_ = true;
« no previous file with comments | « webkit/common/gpu/webgraphicscontext3d_in_process_impl.cc ('k') | webkit/dom_storage/dom_storage_cached_area.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698