40. A problem on invalidateContentsAndWindow() - WebKit porting to Mona OS

On some of WebKit ports, layout function such as FormView::updateLayoutAndStyleIfNeededRecursive() is called in ChromeClient::invalidateContentsAndWindow.
But in at least Mona port, it causes some kind of bad recursive call of void FrameView::doDeferredRepaints() and crash.
I guess we should not call layout functions in ChromeClient::invalidateContentsAndWindow. Someone please let me know if I understand this correctly.