Index: cc/output/begin_frame_args.h |
diff --git a/cc/output/begin_frame_args.h b/cc/output/begin_frame_args.h |
index 53745f9d81e9e262e8aac52fc4dba4c3bb743091..14139a83926b3def60efdf6efc19761875bcbb85 100644 |
--- a/cc/output/begin_frame_args.h |
+++ b/cc/output/begin_frame_args.h |
@@ -85,6 +85,15 @@ struct CC_EXPORT BeginFrameArgs { |
base::TimeDelta interval; |
BeginFrameArgsType type; |
+ bool operator==(const BeginFrameArgs& other) const { |
mithro-old
2015/03/23 11:32:16
Why do we need these operators again?
simonhong
2015/03/23 11:46:38
Can be removed.
|
+ 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); |
+ } |
+ |
private: |
BeginFrameArgs(base::TimeTicks frame_time, |
base::TimeTicks deadline, |