Index: chrome/renderer/extensions/renderer_extension_bindings.cc |
diff --git a/chrome/renderer/extensions/renderer_extension_bindings.cc b/chrome/renderer/extensions/renderer_extension_bindings.cc |
index 2facea6441155b9a0168315a3a1de75bc08ed43f..374e6732a480eff6ed18f9e0031ce28bf30021d4 100644 |
--- a/chrome/renderer/extensions/renderer_extension_bindings.cc |
+++ b/chrome/renderer/extensions/renderer_extension_bindings.cc |
@@ -193,7 +193,8 @@ const char* RendererExtensionBindings::kName = |
"chrome/RendererExtensionBindings"; |
v8::Extension* RendererExtensionBindings::Get() { |
- return new ExtensionImpl(); |
+ static v8::Extension* extension = new ExtensionImpl(); |
+ return extension; |
} |
void RendererExtensionBindings::Invoke(const std::string& function_name, |