diff options
author | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 05:31:45 +0000 |
---|---|---|
committer | mpcomplete@chromium.org <mpcomplete@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-06 05:31:45 +0000 |
commit | cd45f0236f605e95cd62a135e3231061ca3d6348 (patch) | |
tree | 7fb097a937f2919fdb3f3649e95566d046681874 /mojo/apps | |
parent | fb1464a058dd2ca636ac111110380122d1e0e2c9 (diff) | |
download | chromium_src-cd45f0236f605e95cd62a135e3231061ca3d6348.zip chromium_src-cd45f0236f605e95cd62a135e3231061ca3d6348.tar.gz chromium_src-cd45f0236f605e95cd62a135e3231061ca3d6348.tar.bz2 |
Mojo: Reimplement unicode.js in JavaScript, remove native implementation.
This version is likely less efficient, but doesn't require gin.
BUG=372065
Review URL: https://codereview.chromium.org/294123008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275342 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/apps')
-rw-r--r-- | mojo/apps/js/mojo_runner_delegate.cc | 2 | ||||
-rw-r--r-- | mojo/apps/js/test/run_apps_js_tests.cc | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/mojo/apps/js/mojo_runner_delegate.cc b/mojo/apps/js/mojo_runner_delegate.cc index 59e9d7c..8bec392 100644 --- a/mojo/apps/js/mojo_runner_delegate.cc +++ b/mojo/apps/js/mojo_runner_delegate.cc @@ -17,7 +17,6 @@ #include "mojo/bindings/js/core.h" #include "mojo/bindings/js/handle.h" #include "mojo/bindings/js/support.h" -#include "mojo/bindings/js/unicode.h" namespace mojo { namespace apps { @@ -54,7 +53,6 @@ MojoRunnerDelegate::MojoRunnerDelegate() AddBuiltinModule(gin::TimerModule::kName, gin::TimerModule::GetModule); AddBuiltinModule(js::Core::kModuleName, js::Core::GetModule); AddBuiltinModule(js::Support::kModuleName, js::Support::GetModule); - AddBuiltinModule(js::Unicode::kModuleName, js::Unicode::GetModule); AddBuiltinModule(js::gl::kModuleName, js::gl::GetModule); AddBuiltinModule(MonotonicClock::kModuleName, MonotonicClock::GetModule); AddBuiltinModule(Threading::kModuleName, Threading::GetModule); diff --git a/mojo/apps/js/test/run_apps_js_tests.cc b/mojo/apps/js/test/run_apps_js_tests.cc index de964e7..f01ecc8 100644 --- a/mojo/apps/js/test/run_apps_js_tests.cc +++ b/mojo/apps/js/test/run_apps_js_tests.cc @@ -13,7 +13,6 @@ #include "mojo/apps/js/bindings/monotonic_clock.h" #include "mojo/apps/js/bindings/threading.h" #include "mojo/bindings/js/core.h" -#include "mojo/bindings/js/unicode.h" #include "mojo/common/test/test_utils.h" #include "testing/gtest/include/gtest/gtest.h" @@ -26,7 +25,6 @@ class TestRunnerDelegate : public gin::FileRunnerDelegate { TestRunnerDelegate() { AddBuiltinModule(gin::Console::kModuleName, gin::Console::GetModule); AddBuiltinModule(Core::kModuleName, Core::GetModule); - AddBuiltinModule(Unicode::kModuleName, Unicode::GetModule); AddBuiltinModule(gin::TimerModule::kName, gin::TimerModule::GetModule); AddBuiltinModule(apps::MonotonicClock::kModuleName, apps::MonotonicClock::GetModule); |