Skip to content

Commit

Permalink
Unused member WebMResourceClientParent::m_buffer
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=268041
rdar://121560631

Reviewed by Eric Carlson.

Remove member.
No change in observable behaviour.

* Source/WebCore/platform/graphics/WebMResourceClient.cpp:
(WebCore::WebMResourceClient::dataReceived):
* Source/WebCore/platform/graphics/WebMResourceClient.h:

Canonical link: https://commits.webkit.org/273466@main
  • Loading branch information
jyavenard committed Jan 25, 2024
1 parent 5c64049 commit 82020f5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Source/WebCore/platform/graphics/WebMResourceClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ void WebMResourceClient::dataReceived(PlatformMediaResource&, const SharedBuffer
if (!m_parent)
return;

m_buffer.append(buffer);
m_parent->dataReceived(buffer);
}

Expand Down
1 change: 0 additions & 1 deletion Source/WebCore/platform/graphics/WebMResourceClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ class WebMResourceClient final

WeakPtr<WebMResourceClientParent> m_parent;
RefPtr<PlatformMediaResource> m_resource;
SharedBufferBuilder m_buffer;
};

} // namespace WebCore
Expand Down

0 comments on commit 82020f5

Please sign in to comment.