Index: cc/output/begin_frame_args.h |
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h |
index b23a81e183a2180a90684cf92736d59ba3ba5804..393b209d022dfcff6f634b0b700b8f5e27226fa9 100644 |
--- a/cc/output/begin_frame_args.h |
+++ b/cc/output/begin_frame_args.h |
@@ -50,6 +50,16 @@ struct CC_EXPORT BeginFrameArgs { |
scoped_refptr<base::debug::ConvertableToTraceFormat> AsValue() const; |
void AsValueInto(base::debug::TracedValue* dict) const; |
+ bool operator==(const BeginFrameArgs& other) const { |
+ return (frame_time == other.frame_time & deadline == other.deadline && |
+ interval == other.interval); |
+ } |
+ |
+ bool operator!=(const BeginFrameArgs& other) const { |
+ return (frame_time != other.frame_time || deadline != other.deadline || |
+ interval != other.interval); |
+ } |
+ |
base::TimeTicks frame_time; |
base::TimeTicks deadline; |
base::TimeDelta interval; |