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

Unified Diff: content/browser/browser_context.cc

Issue 16998003: Update CrOS 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, 6 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 | « chromeos/process_proxy/process_proxy.cc ('k') | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_context.cc
diff --git a/content/browser/browser_context.cc b/content/browser/browser_context.cc
index c3259000b8e37a929c7fbc5e397d036d49ad890b..62037b58a36f55f9a0b9949ec13ab11a5087a047 100644
--- a/content/browser/browser_context.cc
+++ b/content/browser/browser_context.cc
@@ -145,8 +145,7 @@ fileapi::ExternalMountPoints* BrowserContext::GetMountPoints(
fileapi::ExternalMountPoints::CreateRefCounted();
context->SetUserData(
kMountPointsKey,
- new UserDataAdapter<fileapi::ExternalMountPoints>(
- mount_points));
+ new UserDataAdapter<fileapi::ExternalMountPoints>(mount_points.get()));
}
return UserDataAdapter<fileapi::ExternalMountPoints>::Get(
« no previous file with comments | « chromeos/process_proxy/process_proxy.cc ('k') | content/browser/renderer_host/image_transport_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698