Index: content/browser/site_instance_impl.cc |
diff --git a/content/browser/site_instance_impl.cc b/content/browser/site_instance_impl.cc |
index a4c886260e008f39fc30ab153d898df9fd09f2d0..0dd62877d2ec961eacf4adb5fd4d41bd92ba66df 100644 |
--- a/content/browser/site_instance_impl.cc |
+++ b/content/browser/site_instance_impl.cc |
@@ -4,6 +4,7 @@ |
#include "content/browser/site_instance_impl.h" |
+#include "base/memory/ptr_util.h" |
#include "content/browser/browsing_instance.h" |
#include "content/browser/child_process_security_policy_impl.h" |
#include "content/browser/frame_host/debug_urls.h" |
@@ -151,7 +152,8 @@ RenderProcessHost* SiteInstanceImpl::GetDefaultSubframeProcessHost( |
browser_context->GetUserData(&kDefaultSubframeProcessHostHolderKey)); |
if (!holder) { |
holder = new DefaultSubframeProcessHostHolder(browser_context); |
- browser_context->SetUserData(kDefaultSubframeProcessHostHolderKey, holder); |
+ browser_context->SetUserData(kDefaultSubframeProcessHostHolderKey, |
+ base::WrapUnique(holder)); |
} |
return holder->GetProcessHost(this, is_for_guests_only); |