Coalesce multiple calls to WebPageProxy::windowAndViewFramesChanged
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jun 2013 00:11:34 +0000 (00:11 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 8 Jun 2013 00:11:34 +0000 (00:11 +0000)
commite4a19b60c1e7826ccac2ceb812d5137f128d6e5b
tree106c6753a1776ccf3ed29995af885505892afba1
parent36e2e5c55e87e919b03a85e95d5b1410ce6a8575
Coalesce multiple calls to WebPageProxy::windowAndViewFramesChanged
https://bugs.webkit.org/show_bug.cgi?id=117364
<rdar://problem/14042099>

Reviewed by Geoffrey Garen.

-[WKView _updateWindowAndViewFrames] can be called many times per run loop iteration so coalesce calls
to WebPageProxy::windowAndViewFrames using dispatch_async.

* UIProcess/API/mac/WKView.mm:
(-[WKView _updateWindowAndViewFrames]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@151344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/mac/WKView.mm