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

Unified Diff: content/browser/site_instance_impl_unittest.cc

Issue 1272113002: Allow url::SchemeHostPort to hold non-file scheme without port (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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 | « components/test/run_all_unittests.cc ('k') | content/common/url_schemes.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/site_instance_impl_unittest.cc
diff --git a/content/browser/site_instance_impl_unittest.cc b/content/browser/site_instance_impl_unittest.cc
index 00677c5d38cab704f0949569dd7ba8f70128d87f..e37b410fbf765215119e96d30d5efd4e797dee07 100644
--- a/content/browser/site_instance_impl_unittest.cc
+++ b/content/browser/site_instance_impl_unittest.cc
@@ -75,8 +75,8 @@ class SiteInstanceTest : public testing::Test {
void SetUp() override {
old_browser_client_ = SetBrowserClientForTesting(&browser_client_);
- url::AddStandardScheme(kPrivilegedScheme);
- url::AddStandardScheme(kChromeUIScheme);
+ url::AddStandardScheme(kPrivilegedScheme, url::SCHEME_WITHOUT_PORT);
+ url::AddStandardScheme(kChromeUIScheme, url::SCHEME_WITHOUT_PORT);
SiteInstanceImpl::set_render_process_host_factory(&rph_factory_);
}
« no previous file with comments | « components/test/run_all_unittests.cc ('k') | content/common/url_schemes.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698