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

Unified Diff: chrome/renderer/js_only_v8_extensions.cc

Issue 115681: switch to using native JSON object (Closed)
Patch Set: all in one Created 11 years, 7 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 | « chrome/renderer/js_only_v8_extensions.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/js_only_v8_extensions.cc
diff --git a/chrome/renderer/js_only_v8_extensions.cc b/chrome/renderer/js_only_v8_extensions.cc
index d304ef1d6e4c5e5bb7c3a1230566e1aaeb2de9f5..577f1709c157841b15ee84d0f8ef6ef930d9423e 100644
--- a/chrome/renderer/js_only_v8_extensions.cc
+++ b/chrome/renderer/js_only_v8_extensions.cc
@@ -15,16 +15,6 @@ v8::Extension* BaseJsV8Extension::Get() {
0, NULL);
}
-// JsonJsV8Extension
-const char* JsonJsV8Extension::kName = "chrome/json";
-v8::Extension* JsonJsV8Extension::Get() {
- static const char* deps[] = {
- BaseJsV8Extension::kName
- };
- return new v8::Extension(kName, GetStringResource<IDR_DEVTOOLS_JSON_JS>(),
- arraysize(deps), deps);
-}
-
// JsonSchemaJsV8Extension
const char* JsonSchemaJsV8Extension::kName = "chrome/jsonschema";
v8::Extension* JsonSchemaJsV8Extension::Get() {
« no previous file with comments | « chrome/renderer/js_only_v8_extensions.h ('k') | chrome/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698