Use enum class for the RunPostLayoutTasks enum
Created attachment 237800 [details] Patch
https://trac.webkit.org/r173392