Index: chrome/renderer/extensions/event_bindings.cc |
diff --git a/chrome/renderer/extensions/event_bindings.cc b/chrome/renderer/extensions/event_bindings.cc |
index a5c69e413d72596c8d62cc3db2c02b1e22cf7edc..b44fe82b95d28cbe42a08959f0836df4240b052f 100644 |
--- a/chrome/renderer/extensions/event_bindings.cc |
+++ b/chrome/renderer/extensions/event_bindings.cc |
@@ -107,8 +107,9 @@ class ExtensionImpl : public ExtensionBase { |
const char* EventBindings::kName = "chrome/EventBindings"; |
v8::Extension* EventBindings::Get() { |
+ static v8::Extension* extension = new ExtensionImpl(); |
bindings_registered = true; |
- return new ExtensionImpl(); |
+ return extension; |
} |
// static |