[webkit-changes] [WebKit/WebKit] 2c65a3: [MSE] Make input argument to canPlayThroughRange()...
Alicia Boya García
noreply at github.com
Mon Feb 27 04:16:31 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2c65a39b4fd6b58315b59850c81f7f836c8eb018
https://github.com/WebKit/WebKit/commit/2c65a39b4fd6b58315b59850c81f7f836c8eb018
Author: Alicia Boya Garcia <aboya at igalia.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M Source/WebCore/Modules/mediasource/SourceBuffer.cpp
M Source/WebCore/Modules/mediasource/SourceBuffer.h
Log Message:
-----------
[MSE] Make input argument to canPlayThroughRange() const
https://bugs.webkit.org/show_bug.cgi?id=252894
Reviewed by Xabier Rodriguez-Calvar.
Arguments passed by reference without const are generally
assumed to be output arguments. This is not the case here.
This patch fixes it.
* Source/WebCore/Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::canPlayThroughRange):
* Source/WebCore/Modules/mediasource/SourceBuffer.h:
Canonical link: https://commits.webkit.org/260876@main
More information about the webkit-changes
mailing list