Index: content/test/test_content_browser_client.cc |
diff --git a/content/test/test_content_browser_client.cc b/content/test/test_content_browser_client.cc |
index e06bff3ae78d84b0eee44eafc08206e2f27f75f7..de7be0636351ec68e11a94973f5e11083e7d7e31 100644 |
--- a/content/test/test_content_browser_client.cc |
+++ b/content/test/test_content_browser_client.cc |
@@ -10,8 +10,6 @@ |
#include "base/logging.h" |
#include "content/test/test_web_contents_view.h" |
#include "googleurl/src/gurl.h" |
-#include "third_party/skia/include/core/SkBitmap.h" |
-#include "ui/base/clipboard/clipboard.h" |
namespace content { |
@@ -24,9 +22,13 @@ TestContentBrowserClient::~TestContentBrowserClient() { |
WebContentsView* TestContentBrowserClient::OverrideCreateWebContentsView( |
WebContents* web_contents, |
RenderViewHostDelegateView** render_view_host_delegate_view) { |
+#if defined(OS_IOS) |
+ return NULL; |
+#else |
TestWebContentsView* rv = new TestWebContentsView; |
*render_view_host_delegate_view = rv; |
return rv; |
+#endif |
} |
FilePath TestContentBrowserClient::GetDefaultDownloadDirectory() { |