[EME] Solve a couple of compiler warnings
authorcalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2017 11:12:26 +0000 (11:12 +0000)
committercalvaris@igalia.com <calvaris@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 4 Jul 2017 11:12:26 +0000 (11:12 +0000)
commita629110569496b8f55ced7c0950d09371f30a4f9
tree783deea5f825121590d6455410e0f2ea406478dd
parent9d246c40cd122fba332c232a7f36538b7337bba1
[EME] Solve a couple of compiler warnings
https://bugs.webkit.org/show_bug.cgi?id=174020

Reviewed by Michael Catanzaro.

* Modules/encryptedmedia/CDM.cpp:
(WebCore::CDM::isPersistentType): Added default return and
assertion.
* Modules/encryptedmedia/MediaKeySession.cpp:
(WebCore::MediaKeySession::updateKeyStatuses): This warning was
already solved but I think adding an assertion for the default
case can help catch errors in the future.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219116 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/Modules/encryptedmedia/CDM.cpp
Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp