summaryrefslogtreecommitdiffstats
path: root/content/browser/mock_content_browser_client.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/mock_content_browser_client.cc')
-rw-r--r--content/browser/mock_content_browser_client.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/content/browser/mock_content_browser_client.cc b/content/browser/mock_content_browser_client.cc
index 8bf2e35..026c02b 100644
--- a/content/browser/mock_content_browser_client.cc
+++ b/content/browser/mock_content_browser_client.cc
@@ -8,6 +8,7 @@
#include "base/file_path.h"
#include "content/browser/webui/empty_web_ui_factory.h"
+#include "content/test/test_tab_contents_view.h"
#include "googleurl/src/gurl.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/base/clipboard/clipboard.h"
@@ -20,7 +21,7 @@ MockContentBrowserClient::~MockContentBrowserClient() {
TabContentsView* MockContentBrowserClient::CreateTabContentsView(
TabContents* tab_contents) {
- return NULL;
+ return new TestTabContentsView;
}
void MockContentBrowserClient::RenderViewHostCreated(