summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/web_ui_browsertest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/web_ui_browsertest.cc')
-rw-r--r--chrome/test/base/web_ui_browsertest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/chrome/test/base/web_ui_browsertest.cc b/chrome/test/base/web_ui_browsertest.cc
index 36e5557..1e07c09 100644
--- a/chrome/test/base/web_ui_browsertest.cc
+++ b/chrome/test/base/web_ui_browsertest.cc
@@ -277,9 +277,8 @@ class PrintContentBrowserClient : public chrome::ChromeContentBrowserClient {
private:
// ChromeContentBrowserClient implementation:
- virtual content::WebContentsViewPort* OverrideCreateWebContentsView(
- content::WebContents* web_contents,
- content::RenderViewHostDelegateView** view) OVERRIDE {
+ virtual content::WebContentsViewDelegate* GetWebContentsViewDelegate(
+ content::WebContents* web_contents) OVERRIDE {
preview_dialog_ = web_contents;
observer_.reset(new WebUIJsInjectionReadyObserver(
preview_dialog_, browser_test_, preload_test_fixture_,