Index: content/shell/shell_content_browser_client.cc |
diff --git a/content/shell/shell_content_browser_client.cc b/content/shell/shell_content_browser_client.cc |
index 711aecd38182dc7d5cd5bcb8c889eb372beab479..9089438421afef4971c6071c6bd6c668152b3a27 100644 |
--- a/content/shell/shell_content_browser_client.cc |
+++ b/content/shell/shell_content_browser_client.cc |
@@ -20,6 +20,8 @@ |
#include "content/common/view_messages.h" |
#elif defined(OS_LINUX) |
#include "content/browser/tab_contents/tab_contents_view_gtk.h" |
+#elif defined(OS_MACOSX) |
+#include "content/browser/tab_contents/web_contents_view_mac.h" |
#endif |
namespace content { |
@@ -47,6 +49,8 @@ WebContentsView* ShellContentBrowserClient::CreateWebContentsView( |
return new TabContentsViewWin(web_contents); |
#elif defined(OS_LINUX) |
return new TabContentsViewGtk(web_contents, NULL); |
+#elif defined(OS_MACOSX) |
+ return web_contents_view_mac::CreateWebContentsView(web_contents, NULL); |
#else |
return NULL; |
#endif |