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

Unified Diff: content/common/frame_owner_properties.cc

Issue 2697713003: Initial Implementation of Iframe Attribute for Feature Policy (Part 2) (Closed)
Patch Set: Update rebase Created 3 years, 10 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 | « content/common/frame_owner_properties.h ('k') | content/renderer/frame_owner_properties.cc » ('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 ef7dac1351ffe9c497944152533c1ffa8afaa858..8e0f7ead13abdc522b6321c170df42aec73656b3 100644
--- a/content/common/frame_owner_properties.cc
+++ b/content/common/frame_owner_properties.cc
@@ -19,15 +19,16 @@ FrameOwnerProperties::FrameOwnerProperties(const FrameOwnerProperties& other) =
FrameOwnerProperties::~FrameOwnerProperties() {}
bool FrameOwnerProperties::operator==(const FrameOwnerProperties& other) const {
- return name == other.name &&
- scrolling_mode == other.scrolling_mode &&
+ return name == other.name && scrolling_mode == other.scrolling_mode &&
margin_width == other.margin_width &&
margin_height == other.margin_height &&
allow_fullscreen == other.allow_fullscreen &&
allow_payment_request == other.allow_payment_request &&
required_csp == other.required_csp &&
std::equal(delegated_permissions.begin(), delegated_permissions.end(),
- other.delegated_permissions.begin());
+ other.delegated_permissions.begin()) &&
+ std::equal(allowed_features.begin(), allowed_features.end(),
+ other.allowed_features.begin());
}
} // namespace content
« no previous file with comments | « content/common/frame_owner_properties.h ('k') | content/renderer/frame_owner_properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698