Changeset 219116 in webkit
- Timestamp:
- Jul 4, 2017 4:12:26 AM (7 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r219115 r219116 1 2017-07-04 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 [EME] Solve a couple of compiler warnings 4 https://bugs.webkit.org/show_bug.cgi?id=174020 5 6 Reviewed by Michael Catanzaro. 7 8 * Modules/encryptedmedia/CDM.cpp: 9 (WebCore::CDM::isPersistentType): Added default return and 10 assertion. 11 * Modules/encryptedmedia/MediaKeySession.cpp: 12 (WebCore::MediaKeySession::updateKeyStatuses): This warning was 13 already solved but I think adding an assertion for the default 14 case can help catch errors in the future. 15 1 16 2017-07-04 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/WebCore/Modules/encryptedmedia/CDM.cpp
r218498 r219116 182 182 return true; 183 183 } 184 185 ASSERT_NOT_REACHED(); 186 return false; 184 187 } 185 188 -
trunk/Source/WebCore/Modules/encryptedmedia/MediaKeySession.cpp
r218498 r219116 633 633 return MediaKeyStatus::StatusPending; 634 634 case CDMInstance::KeyStatus::InternalError: 635 break;635 return MediaKeyStatus::InternalError; 636 636 }; 637 638 ASSERT_NOT_REACHED(); 637 639 return MediaKeyStatus::InternalError; 638 640 };
Note: See TracChangeset
for help on using the changeset viewer.