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..870669af1e7d41378399a89fdd159e6d20633969 100644 |
--- a/content/common/frame_owner_properties.cc |
+++ b/content/common/frame_owner_properties.cc |
@@ -11,7 +11,8 @@ FrameOwnerProperties::FrameOwnerProperties() |
margin_width(-1), |
margin_height(-1), |
allow_fullscreen(false), |
- allow_payment_request(false) {} |
+ allow_payment_request(false), |
+ is_display_none(false) {} |
FrameOwnerProperties::FrameOwnerProperties(const FrameOwnerProperties& other) = |
default; |
@@ -19,12 +20,12 @@ 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 && |
+ is_display_none == other.is_display_none && |
required_csp == other.required_csp && |
std::equal(delegated_permissions.begin(), delegated_permissions.end(), |
other.delegated_permissions.begin()); |