Index: mojo/examples/launcher/launcher.cc |
diff --git a/mojo/examples/launcher/launcher.cc b/mojo/examples/launcher/launcher.cc |
index 302f30cf3d9277f1e0b8a74a90d34b9a4fb17c94..1b7d713db35efdc71c23dd8268b6a1f38cb66c08 100644 |
--- a/mojo/examples/launcher/launcher.cc |
+++ b/mojo/examples/launcher/launcher.cc |
@@ -15,7 +15,6 @@ |
#include "mojo/aura/screen_mojo.h" |
#include "mojo/aura/window_tree_host_mojo.h" |
#include "mojo/examples/launcher/launcher.mojom.h" |
-#include "mojo/public/cpp/bindings/allocation_scope.h" |
#include "mojo/public/cpp/gles2/gles2.h" |
#include "mojo/public/cpp/shell/application.h" |
#include "mojo/public/cpp/system/core.h" |
@@ -224,8 +223,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() { |