Chromium Code Reviews| Index: third_party/WebKit/public/platform/WebInputEvent.h |
| diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h |
| index 83f5613e04b402b278087aac0592db3d3273b3e6..8bb230e77a564730d3aa7d2c9dcd6aeb9baf21ee 100644 |
| --- a/third_party/WebKit/public/platform/WebInputEvent.h |
| +++ b/third_party/WebKit/public/platform/WebInputEvent.h |
| @@ -392,6 +392,10 @@ protected: |
| class WebMouseWheelEvent : public WebMouseEvent { |
| public: |
| + // Note: due to the use of static_casts to convert this type to |
| + // PlatformWheelEventPhase, and WheelEventPhase to |
| + // WebMouseWheelEvent::Phase, the definition that follows must be kept in |
| + // sync with that used for the corresponding types. |
|
esprehn
2016/08/09 19:14:12
We usually use static_asserts to enforce parallel
|
| enum Phase { |
| PhaseNone = 0, |
| PhaseBegan = 1 << 0, |