Index: content/common/frame_replication_state.h |
diff --git a/content/common/frame_replication_state.h b/content/common/frame_replication_state.h |
index 30a72a4a42fad7f677a572af37830f61a6f12db5..a1daf15083399da2f872c9baaa51395f2efdf009 100644 |
--- a/content/common/frame_replication_state.h |
+++ b/content/common/frame_replication_state.h |
@@ -33,6 +33,14 @@ enum class SandboxFlags : int { |
ALL = -1 |
}; |
+inline SandboxFlags operator&(SandboxFlags a, SandboxFlags b) { |
+ return static_cast<SandboxFlags>(static_cast<int>(a) & static_cast<int>(b)); |
+} |
+ |
+inline SandboxFlags operator~(SandboxFlags flags) { |
+ return static_cast<SandboxFlags>(~static_cast<int>(flags)); |
+} |
+ |
// This structure holds information that needs to be replicated between a |
// RenderFrame and any of its associated RenderFrameProxies. |
struct CONTENT_EXPORT FrameReplicationState { |