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

Unified Diff: chrome/test/base/web_ui_browser_test.cc

Issue 2248873002: Convert WindowOpenDisposition to an enum class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 months 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/test/base/ui_test_utils.cc ('k') | chrome/test/gpu/webgl_infobar_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/web_ui_browser_test.cc
diff --git a/chrome/test/base/web_ui_browser_test.cc b/chrome/test/base/web_ui_browser_test.cc
index c0135cfe4ca33b23c90b87c7256c0d975b229e6c..d699330a8e8ed49a4b7c66d42be7ced1d3411af5 100644
--- a/chrome/test/base/web_ui_browser_test.cc
+++ b/chrome/test/base/web_ui_browser_test.cc
@@ -221,7 +221,7 @@ void WebUIBrowserTest::BrowsePreload(const GURL& browse_to) {
content::TestNavigationObserver navigation_observer(web_contents);
chrome::NavigateParams params(
browser(), GURL(browse_to), ui::PAGE_TRANSITION_TYPED);
- params.disposition = CURRENT_TAB;
+ params.disposition = WindowOpenDisposition::CURRENT_TAB;
// This is needed to make the test
// MaterialHistoryBrowserTest.HistoryToolbarFocusTest pass on macOS. The test
« no previous file with comments | « chrome/test/base/ui_test_utils.cc ('k') | chrome/test/gpu/webgl_infobar_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698