Skip to content

Commit

Permalink
Drop dead code in WebTouchEvent.h
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=264644

Reviewed by Wenson Hsieh and Alan Baradlay.

* Source/WebKit/Shared/WebTouchEvent.h:

Canonical link: https://commits.webkit.org/270637@main
  • Loading branch information
cdumez committed Nov 13, 2023
1 parent e99d13b commit 6157732
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/WebKit/Shared/WebTouchEvent.h
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,6 @@ class WebTouchEvent : public WebEvent {
void setCanPreventNativeGestures(bool canPreventNativeGestures) { m_canPreventNativeGestures = canPreventNativeGestures; }

bool allTouchPointsAreReleased() const;

void encode(IPC::Encoder&) const;
static WARN_UNUSED_RETURN bool decode(IPC::Decoder&, WebTouchEvent&);

private:
Vector<WebPlatformTouchPoint> m_touchPoints;
Expand Down Expand Up @@ -186,9 +183,6 @@ class WebPlatformTouchPoint {

void setState(State state) { m_state = state; }

void encode(IPC::Encoder&) const;
static std::optional<WebPlatformTouchPoint> decode(IPC::Decoder&);

private:
uint32_t m_id;
State m_state;
Expand Down

0 comments on commit 6157732

Please sign in to comment.