Title: [236307] trunk/Source/WebCore
- Revision
- 236307
- Author
- [email protected]
- Date
- 2018-09-21 00:37:14 -0700 (Fri, 21 Sep 2018)
Log Message
[EME] Fix typo in WebM sanitization variable
https://bugs.webkit.org/show_bug.cgi?id=189789
Patch by Yacine Bandou <[email protected]> on 2018-09-21
Reviewed by Xabier Rodriguez-Calvar.
This commit corrects a typo in the name of a local variable, sanitizedBuffer
instead of sanitazedBuffer.
* Modules/encryptedmedia/InitDataRegistry.cpp:
(WebCore::extractKeyIDsWebM):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (236306 => 236307)
--- trunk/Source/WebCore/ChangeLog 2018-09-21 05:37:01 UTC (rev 236306)
+++ trunk/Source/WebCore/ChangeLog 2018-09-21 07:37:14 UTC (rev 236307)
@@ -1,3 +1,16 @@
+2018-09-21 Yacine Bandou <[email protected]>
+
+ [EME] Fix typo in WebM sanitization variable
+ https://bugs.webkit.org/show_bug.cgi?id=189789
+
+ Reviewed by Xabier Rodriguez-Calvar.
+
+ This commit corrects a typo in the name of a local variable, sanitizedBuffer
+ instead of sanitazedBuffer.
+
+ * Modules/encryptedmedia/InitDataRegistry.cpp:
+ (WebCore::extractKeyIDsWebM):
+
2018-09-20 Dean Jackson <[email protected]>
Restrict the total combined size of backdrop filters
Modified: trunk/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp (236306 => 236307)
--- trunk/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp 2018-09-21 05:37:01 UTC (rev 236306)
+++ trunk/Source/WebCore/Modules/encryptedmedia/InitDataRegistry.cpp 2018-09-21 07:37:14 UTC (rev 236307)
@@ -154,13 +154,13 @@
static std::optional<Vector<Ref<SharedBuffer>>> extractKeyIDsWebM(const SharedBuffer& buffer)
{
Vector<Ref<SharedBuffer>> keyIDs;
- RefPtr<SharedBuffer> sanitazedBuffer = sanitizeWebM(buffer);
- if (!sanitazedBuffer)
+ RefPtr<SharedBuffer> sanitizedBuffer = sanitizeWebM(buffer);
+ if (!sanitizedBuffer)
return std::nullopt;
// 1. Format
// https://w3c.github.io/encrypted-media/format-registry/initdata/webm.html#format
- keyIDs.append(sanitazedBuffer.releaseNonNull());
+ keyIDs.append(sanitizedBuffer.releaseNonNull());
return keyIDs;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes