Index: chrome/renderer/extensions/extension_process_bindings.cc |
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc |
index fd924811f944074b4417345790d36adf5ccba3ad..d5cdefe106d21a210c398c3c339d97d5792bcf2d 100644 |
--- a/chrome/renderer/extensions/extension_process_bindings.cc |
+++ b/chrome/renderer/extensions/extension_process_bindings.cc |
@@ -205,7 +205,8 @@ class ExtensionImpl : public ExtensionBase { |
} // namespace |
v8::Extension* ExtensionProcessBindings::Get() { |
- return new ExtensionImpl(); |
+ static v8::Extension* extension = new ExtensionImpl(); |
+ return extension; |
} |
void ExtensionProcessBindings::SetFunctionNames( |