In WebPage::notifyAppActivationStateChange(), suggested by Dan Bates, we should get rid of the default case to force a compiler error instead of using a runtime error: for (; it != last; ++it) { switch (activationState) { case ActivationActive: (*it)->handleAppActivatedEvent(); break; case ActivationInactive: (*it)->handleAppDeactivatedEvent(); break; case ActivationStandby: (*it)->handleAppStandbyEvent(); break; default: ASSERT(0); break; } }
Created attachment 135443 [details] Patch
Landed in r113203.