summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-19 05:15:15 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-19 05:15:15 +0000
commit838b943ae327185223b15337b62b3c5f41a70354 (patch)
treef6da26326065e9c760c14f0f00eef4bdacace25b /chrome/browser/tab_contents
parent3f79789f46d6b5d1799a82371f478cb3a15d7e07 (diff)
downloadchromium_src-838b943ae327185223b15337b62b3c5f41a70354.zip
chromium_src-838b943ae327185223b15337b62b3c5f41a70354.tar.gz
chromium_src-838b943ae327185223b15337b62b3c5f41a70354.tar.bz2
Allow all URLPatterns to have ports.
This is a minor breaking change, but after looking at the data, I don't think it's worth maintaining backward compat. I will mail the authors of the extensions that are affected to warn them. BUG=104104 Review URL: http://codereview.chromium.org/8970020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114957 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r--chrome/browser/tab_contents/render_view_context_menu_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/render_view_context_menu_unittest.cc b/chrome/browser/tab_contents/render_view_context_menu_unittest.cc
index 338f29b..5ad057d 100644
--- a/chrome/browser/tab_contents/render_view_context_menu_unittest.cc
+++ b/chrome/browser/tab_contents/render_view_context_menu_unittest.cc
@@ -72,7 +72,7 @@ static ContextMenuParams CreateParams(int contexts) {
// Generates a URLPatternSet with a single pattern
static URLPatternSet CreatePatternSet(const std::string& pattern) {
- URLPattern target(URLPattern::IGNORE_PORTS, URLPattern::SCHEME_HTTP);
+ URLPattern target(URLPattern::SCHEME_HTTP);
target.Parse(pattern);
URLPatternSet rv;