Index: chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm |
diff --git a/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm b/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm |
index af0c147365b2fa98c2a078c5b9241650a619bb04..0f294312e8668aaeb01cc0158946f22018931dc7 100644 |
--- a/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm |
+++ b/chrome/browser/ui/cocoa/tab_contents/chrome_web_contents_view_delegate_mac.mm |
@@ -90,9 +90,12 @@ ChromeWebContentsViewDelegateMac::GetActiveRenderWidgetHostView() { |
namespace chrome { |
+#if !defined(TOOLKIT_VIEWS) |
content::WebContentsViewDelegate* CreateWebContentsViewDelegate( |
- content::WebContents* web_contents) { |
+ content::WebContents* web_contents, |
+ gfx::NativeView context) { |
return new ChromeWebContentsViewDelegateMac(web_contents); |
} |
+#endif // !defined(TOOLKIT_VIEWS) |
} // namespace chrome |