Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index ea92c72b9009b53bf094394b09cec2b282b972a2..358daeb1d028698383b1fb08e730c96c20fd5670 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -212,12 +212,8 @@ class ExtensionHost : public RenderViewHostDelegate, |
void CreateRenderViewNow(); |
// ExtensionFunctionDispatcher::Delegate |
- virtual Browser* GetBrowser() const { |
- return view() ? view()->browser() : NULL; |
- } |
- virtual gfx::NativeView GetNativeViewOfHost() { |
- return view() ? view()->native_view() : NULL; |
- } |
+ virtual Browser* GetBrowser() const; |
+ virtual gfx::NativeView GetNativeViewOfHost(); |
// Handles keyboard events that were not handled by HandleKeyboardEvent(). |
// Platform specific implementation may override this method to handle the |