| Index: Source/core/layout/HitTestRequest.h
|
| diff --git a/Source/core/layout/HitTestRequest.h b/Source/core/layout/HitTestRequest.h
|
| index d9e937e1c31b2ab2a7830e2ab721976775951c72..570d9bd2c9a6b7d687e81e51b33e31a26b62cfb5 100644
|
| --- a/Source/core/layout/HitTestRequest.h
|
| +++ b/Source/core/layout/HitTestRequest.h
|
| @@ -75,6 +75,12 @@ public:
|
|
|
| HitTestRequestType type() const { return m_requestType; }
|
|
|
| + static const HitTestRequestType CacheabilityBits = ReadOnly | Active | Move | Release | TouchEvent;
|
| + bool equalForCacheability(const HitTestRequest& value) const
|
| + {
|
| + return (m_requestType | CacheabilityBits) == (value.m_requestType | CacheabilityBits);
|
| + }
|
| +
|
| private:
|
| HitTestRequestType m_requestType;
|
| };
|
|
|