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

Unified Diff: content/common/frame_owner_properties.cc

Issue 2775393003: Fix crash in frame owner property replication. (Closed)
Patch Set: Add comment to test file Created 3 years, 9 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 | « no previous file | content/test/data/allowed_frames.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/frame_owner_properties.cc
diff --git a/content/common/frame_owner_properties.cc b/content/common/frame_owner_properties.cc
index 706a200be096110894697241eacf4ca724da4954..acb7b41942dbfc2073ec90e102c2e743ca78b427 100644
--- a/content/common/frame_owner_properties.cc
+++ b/content/common/frame_owner_properties.cc
@@ -27,8 +27,7 @@ bool FrameOwnerProperties::operator==(const FrameOwnerProperties& other) const {
allow_payment_request == other.allow_payment_request &&
is_display_none == other.is_display_none &&
required_csp == other.required_csp &&
- std::equal(allowed_features.begin(), allowed_features.end(),
- other.allowed_features.begin());
+ allowed_features == other.allowed_features;
}
} // namespace content
« no previous file with comments | « no previous file | content/test/data/allowed_frames.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698