Avoid using a HashMap for DisplayRefreshMonitorManager, which rarely has more than one item
Created attachment 246201 [details]
Comment on attachment 246201 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=246201&action=review
> - ASSERT(m_monitors.contains(monitor->displayID()));
I'd keep this assert instead of the ASSERT_NOT_REACHED below. Might have to rewrite it to use Vector::find in case Vector doesn't have a contains member function.