Changeset 151406 in webkit
- Timestamp:
- Jun 10, 2013 3:10:09 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r151403 r151406 1 2013-06-10 Sergio Correia <sergio.correia@openbossa.org> 2 3 [WK2][CoordinatedGraphics] Add default case to switches to fix strict build 4 https://bugs.webkit.org/show_bug.cgi?id=117416 5 6 Reviewed by Noam Rosenthal. 7 8 This patch fixes a strict build by asserting on the default case of two 9 switch statements where gcc was previously complaining of unhandled cases. 10 11 * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp: 12 (CoreIPC::::encode): 13 (CoreIPC::::decode): 14 1 15 2013-06-10 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
r151364 r151406 183 183 CustomFilterTransformParameter* transformParameter = static_cast<CustomFilterTransformParameter*>(parameter.get()); 184 184 ArgumentCoder<TransformOperations>::encode(encoder, transformParameter->operations()); 185 break; 186 } 187 default: { 188 ASSERT_NOT_REACHED(); 185 189 break; 186 190 } … … 320 324 break; 321 325 } 326 default: { 327 ASSERT_NOT_REACHED(); 328 return false; 329 } 322 330 } 323 331 }
Note: See TracChangeset
for help on using the changeset viewer.