Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3031)

Unified Diff: chrome/browser/ui/webui/web_ui_browsertest.cc

Issue 9003014: Replace WebUI::tab_contents() with web_contents() and switch all users to use web_contents.h inst... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/uber/uber_ui.cc ('k') | chrome/browser/ui/webui/web_ui_test_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_browsertest.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_browsertest.cc (revision 116011)
+++ chrome/browser/ui/webui/web_ui_browsertest.cc (working copy)
@@ -27,6 +27,8 @@
#include "testing/gtest/include/gtest/gtest-spi.h"
#include "ui/base/resource/resource_bundle.h"
+using content::WebContents;
+
namespace {
const FilePath::CharType kMockJS[] = FILE_PATH_LITERAL("mock4js.js");
@@ -236,8 +238,8 @@
MockWebUIProvider() {}
// Returns a new ChromeWebUI
- WebUI* NewWebUI(TabContents* tab_contents, const GURL& url) OVERRIDE {
- return new ChromeWebUI(tab_contents);
+ WebUI* NewWebUI(WebContents* web_contents, const GURL& url) OVERRIDE {
+ return new ChromeWebUI(web_contents);
}
};
« no previous file with comments | « chrome/browser/ui/webui/uber/uber_ui.cc ('k') | chrome/browser/ui/webui/web_ui_test_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698