Title: [216838] trunk/Source/WebCore
- Revision
- 216838
- Author
- [email protected]
- Date
- 2017-05-13 23:05:17 -0700 (Sat, 13 May 2017)
Log Message
Unused lambda in JSWebKitSubtleCrypto::wrapKey()
<https://webkit.org/b/172087>
Reviewed by Chris Dumez.
Fixes the following warning with newer clang:
Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp:594:35: error: lambda capture 'keyFormat' is not used [-Werror,-Wunused-lambda-capture]
auto exportSuccessCallback = [keyFormat, algorithm, parameters, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable {
^
* bindings/js/JSWebKitSubtleCryptoCustom.cpp:
(WebCore::JSWebKitSubtleCrypto::wrapKey): Remove unused lambda.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (216837 => 216838)
--- trunk/Source/WebCore/ChangeLog 2017-05-14 05:37:52 UTC (rev 216837)
+++ trunk/Source/WebCore/ChangeLog 2017-05-14 06:05:17 UTC (rev 216838)
@@ -1,3 +1,19 @@
+2017-05-13 David Kilzer <[email protected]>
+
+ Unused lambda in JSWebKitSubtleCrypto::wrapKey()
+ <https://webkit.org/b/172087>
+
+ Reviewed by Chris Dumez.
+
+ Fixes the following warning with newer clang:
+
+ Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp:594:35: error: lambda capture 'keyFormat' is not used [-Werror,-Wunused-lambda-capture]
+ auto exportSuccessCallback = [keyFormat, algorithm, parameters, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable {
+ ^
+
+ * bindings/js/JSWebKitSubtleCryptoCustom.cpp:
+ (WebCore::JSWebKitSubtleCrypto::wrapKey): Remove unused lambda.
+
2017-05-13 Eric Carlson <[email protected]>
[MediaStream] deviceId constraint doesn't work with getUserMedia
Modified: trunk/Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp (216837 => 216838)
--- trunk/Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp 2017-05-14 05:37:52 UTC (rev 216837)
+++ trunk/Source/WebCore/bindings/js/JSWebKitSubtleCryptoCustom.cpp 2017-05-14 06:05:17 UTC (rev 216838)
@@ -591,7 +591,7 @@
RefPtr<DeferredPromise> wrapper = createDeferredPromise(state, domWindow());
auto promise = wrapper->promise();
- auto exportSuccessCallback = [keyFormat, algorithm, parameters, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable {
+ auto exportSuccessCallback = [algorithm, parameters, wrappingKey, wrapper](const Vector<uint8_t>& exportedKeyData) mutable {
auto encryptSuccessCallback = [wrapper](const Vector<uint8_t>& encryptedData) mutable {
fulfillPromiseWithArrayBuffer(wrapper.releaseNonNull(), encryptedData.data(), encryptedData.size());
};
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes