Index: content/common/frame_owner_properties.cc |
diff --git a/content/common/frame_owner_properties.cc b/content/common/frame_owner_properties.cc |
index 2957fb329417da372a5b2e7c59b1855c854a4ad8..aca8709cbc09885515b032908dd4d6d66bde08d4 100644 |
--- a/content/common/frame_owner_properties.cc |
+++ b/content/common/frame_owner_properties.cc |
@@ -41,4 +41,13 @@ blink::WebFrameOwnerProperties FrameOwnerProperties::ToWebFrameOwnerProperties() |
return result; |
} |
+bool FrameOwnerProperties::operator==(const FrameOwnerProperties& other) const { |
+ return scrolling_mode == other.scrolling_mode && |
+ margin_width == other.margin_width && |
+ margin_height == other.margin_height && |
+ allow_fullscreen == other.allow_fullscreen && |
+ std::equal(delegated_permissions.begin(), delegated_permissions.end(), |
+ other.delegated_permissions.begin()); |
+} |
+ |
} // namespace content |