Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6140)

Unified Diff: content/renderer/web_ui_runner.cc

Issue 294123008: Mojo: Reimplement unicode.js in JavaScript, remove native implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/content_resources.grd ('k') | mojo/apps/js/mojo_runner_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/web_ui_runner.cc
diff --git a/content/renderer/web_ui_runner.cc b/content/renderer/web_ui_runner.cc
index 78c914a71e6c2a8abd75d3017be70dfca9f6a9a3..a091636cc942b83699cbb43ef86975268ddebb1a 100644
--- a/content/renderer/web_ui_runner.cc
+++ b/content/renderer/web_ui_runner.cc
@@ -9,7 +9,6 @@
#include "gin/public/context_holder.h"
#include "mojo/bindings/js/core.h"
#include "mojo/bindings/js/support.h"
-#include "mojo/bindings/js/unicode.h"
#include "third_party/WebKit/public/web/WebFrame.h"
#include "third_party/WebKit/public/web/WebScriptSource.h"
@@ -48,10 +47,6 @@ void WebUIRunner::RegisterBuiltinModules() {
mojo::js::Support::kModuleName,
mojo::js::Support::GetModule(
context_holder_->isolate()));
- registry->AddBuiltinModule(context_holder_->isolate(),
- mojo::js::Unicode::kModuleName,
- mojo::js::Unicode::GetModule(
- context_holder_->isolate()));
}
void WebUIRunner::Run(const std::string& source,
« no previous file with comments | « content/content_resources.grd ('k') | mojo/apps/js/mojo_runner_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698