Index: shell/context.cc |
diff --git a/shell/context.cc b/shell/context.cc |
index 5e43504e6de07c9ae1ad2952a5b350bc6ddac4a2..26d03c5f4abfeb3649c05beda761ed5cb3b12722 100644 |
--- a/shell/context.cc |
+++ b/shell/context.cc |
@@ -52,8 +52,9 @@ namespace { |
class Setup { |
public: |
Setup() { |
- mojo::embedder::Init( |
- make_scoped_ptr(new mojo::embedder::SimplePlatformSupport())); |
+ // TODO(vtl): Use make_unique when C++14 is available. |
+ mojo::embedder::Init(std::unique_ptr<mojo::embedder::PlatformSupport>( |
+ new mojo::embedder::SimplePlatformSupport())); |
} |
~Setup() {} |