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

Unified Diff: chrome/renderer/extensions/event_bindings.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 | « no previous file | chrome/renderer/extensions/extension_api_client_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/event_bindings.cc
diff --git a/chrome/renderer/extensions/event_bindings.cc b/chrome/renderer/extensions/event_bindings.cc
index 06479dcd2b576d6cb84e5615f3a2b47f9111009c..19a92453dc5d53ad332be8874be39020f72fd237 100644
--- a/chrome/renderer/extensions/event_bindings.cc
+++ b/chrome/renderer/extensions/event_bindings.cc
@@ -41,8 +41,6 @@ int EventDecrementListenerCount(const std::string& event_name) {
return --(data->listener_count[event_name]);
}
-
-const char* kExtensionDeps[] = { JsonJsV8Extension::kName };
const char* kContextAttachCount = "chromium.attachCount";
class ExtensionImpl : public v8::Extension {
@@ -50,7 +48,7 @@ class ExtensionImpl : public v8::Extension {
ExtensionImpl()
: v8::Extension(EventBindings::kName,
GetStringResource<IDR_EVENT_BINDINGS_JS>(),
- arraysize(kExtensionDeps), kExtensionDeps) {
+ 0, NULL) {
}
~ExtensionImpl() {}
« no previous file with comments | « no previous file | chrome/renderer/extensions/extension_api_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698