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

Unified Diff: url/third_party/mozilla/url_parse.cc

Issue 2895953002: Update dangling markup mitigations. (Closed)
Patch Set: Test. Created 3 years, 7 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
Index: url/third_party/mozilla/url_parse.cc
diff --git a/url/third_party/mozilla/url_parse.cc b/url/third_party/mozilla/url_parse.cc
index 1c1f3dd842f08dbdac0058c030fc3269d9ab8d88..f70f9fb24750148e86d6b6701b38171b1b9b2f2d 100644
--- a/url/third_party/mozilla/url_parse.cc
+++ b/url/third_party/mozilla/url_parse.cc
@@ -690,7 +690,7 @@ bool DoExtractQueryKeyValue(const CHAR* spec,
} // namespace
-Parsed::Parsed() : whitespace_removed(false), inner_parsed_(NULL) {}
+Parsed::Parsed() : potentially_dangling_markup(false), inner_parsed_(NULL) {}
Parsed::Parsed(const Parsed& other)
: scheme(other.scheme),
@@ -701,7 +701,7 @@ Parsed::Parsed(const Parsed& other)
path(other.path),
query(other.query),
ref(other.ref),
- whitespace_removed(other.whitespace_removed),
+ potentially_dangling_markup(other.potentially_dangling_markup),
inner_parsed_(NULL) {
if (other.inner_parsed_)
set_inner_parsed(*other.inner_parsed_);
@@ -717,7 +717,7 @@ Parsed& Parsed::operator=(const Parsed& other) {
path = other.path;
query = other.query;
ref = other.ref;
- whitespace_removed = other.whitespace_removed;
+ potentially_dangling_markup = other.potentially_dangling_markup;
if (other.inner_parsed_)
set_inner_parsed(*other.inner_parsed_);
else

Powered by Google App Engine
This is Rietveld 408576698