Index: cc/output/begin_frame_args.h |
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h |
index 10f7f28aa346f1e1ad99cd23e8986d95f3921de5..673d9600636a948d014fcc45594bdb5e4c5144ea 100644 |
--- a/cc/output/begin_frame_args.h |
+++ b/cc/output/begin_frame_args.h |
@@ -80,6 +80,15 @@ struct CC_EXPORT BeginFrameArgs { |
scoped_refptr<base::trace_event::ConvertableToTraceFormat> AsValue() const; |
void AsValueInto(base::trace_event::TracedValue* dict) const; |
+ bool operator==(const BeginFrameArgs& other) const { |
+ return (frame_time == other.frame_time && deadline == other.deadline && |
+ interval == other.interval && type == other.type); |
+ } |
+ bool operator!=(const BeginFrameArgs& other) const { |
+ return (frame_time != other.frame_time || deadline != other.deadline || |
+ interval != other.interval || type != other.type); |
+ } |
+ |
base::TimeTicks frame_time; |
base::TimeTicks deadline; |
base::TimeDelta interval; |