Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index 8961dfe452318817c04440356db5ee3846ec9260..18fedd32e84ada1d5be6c99040633e850088aad5 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -124,6 +124,7 @@ class ExtensionHost : public RenderViewHostDelegate, |
// part of. If this is a global background page, we use the active Browser |
// instead. |
virtual Browser* GetBrowser(); |
+ virtual ExtensionHost* GetExtensionHost() { return this; } |
// The extension that we're hosting in this view. |
Extension* extension_; |