| Index: content/test/test_render_view_host_factory.cc
|
| diff --git a/content/test/test_render_view_host_factory.cc b/content/test/test_render_view_host_factory.cc
|
| index 5f4fb4dd70e9650d873d67d43d377a45bb9c1214..defc6613641b2b906eff971d7dde51e641e14c09 100644
|
| --- a/content/test/test_render_view_host_factory.cc
|
| +++ b/content/test/test_render_view_host_factory.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "content/test/test_render_view_host_factory.h"
|
|
|
| +#include "base/memory/ptr_util.h"
|
| #include "content/browser/renderer_host/render_widget_host_impl.h"
|
| #include "content/browser/site_instance_impl.h"
|
| #include "content/public/browser/render_process_host_factory.h"
|
| @@ -35,7 +36,7 @@ RenderViewHost* TestRenderViewHostFactory::CreateRenderViewHost(
|
| int32_t main_frame_routing_id,
|
| bool swapped_out) {
|
| return new TestRenderViewHost(instance,
|
| - make_scoped_ptr(new RenderWidgetHostImpl(
|
| + base::WrapUnique(new RenderWidgetHostImpl(
|
| widget_delegate, instance->GetProcess(),
|
| routing_id, false /* hidden */)),
|
| delegate, main_frame_routing_id, swapped_out);
|
|
|