Index: mojo/examples/launcher/launcher.cc |
diff --git a/mojo/examples/launcher/launcher.cc b/mojo/examples/launcher/launcher.cc |
index bc8ccfd73e5987f61bba213e93acf2a0c6055fc2..7734c0e1065025f19b4cfd1a80630aa772d5b84e 100644 |
--- a/mojo/examples/launcher/launcher.cc |
+++ b/mojo/examples/launcher/launcher.cc |
@@ -16,7 +16,6 @@ |
#include "mojo/aura/window_tree_host_mojo.h" |
#include "mojo/examples/launcher/launcher.mojom.h" |
#include "mojo/public/cpp/application/application.h" |
-#include "mojo/public/cpp/bindings/allocation_scope.h" |
#include "mojo/public/cpp/gles2/gles2.h" |
#include "mojo/public/cpp/system/core.h" |
#include "mojo/public/interfaces/service_provider/service_provider.mojom.h" |
@@ -221,8 +220,7 @@ class LauncherImpl : public InterfaceImpl<Launcher>, |
// Overridden from URLReceiver: |
virtual void OnURLEntered(const std::string& url_text) OVERRIDE { |
- AllocationScope scope; |
- client()->OnURLEntered(url_text); |
+ client()->OnURLEntered(String::From(url_text)); |
} |
void HostContextCreated() { |