Changeset 76536 in webkit
- Timestamp:
- Jan 24, 2011 11:33:52 AM (13 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r76535 r76536 1 2011-01-24 Anders Carlsson <andersca@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 Wait for half a second if we're asked to paint when receiving a DidSetSize message 6 https://bugs.webkit.org/show_bug.cgi?id=53028 7 8 * UIProcess/DrawingAreaProxyImpl.cpp: 9 (WebKit::DrawingAreaProxyImpl::paint): 10 1 11 2011-01-24 Anders Carlsson <andersca@apple.com> 2 12 -
trunk/Source/WebKit2/UIProcess/DrawingAreaProxyImpl.cpp
r76393 r76536 27 27 28 28 #include "DrawingAreaMessages.h" 29 #include "DrawingAreaProxyMessages.h" 29 30 #include "Region.h" 30 31 #include "UpdateInfo.h" … … 61 62 if (!m_backingStore) 62 63 return; 64 65 if (m_isWaitingForDidSetSize) { 66 if (!m_webPageProxy->isValid()) 67 return; 68 if (m_webPageProxy->process()->isLaunching()) 69 return; 70 71 // The timeout, in seconds, we use when waiting for a DidSetSize message when we're asked to paint. 72 static const double didSetSizeTimeout = 0.5; 73 m_webPageProxy->process()->connection()->waitForAndDispatchImmediately<Messages::DrawingAreaProxy::DidSetSize>(m_webPageProxy->pageID(), didSetSizeTimeout); 74 } 63 75 64 76 m_backingStore->paint(context, rect);
Note: See TracChangeset
for help on using the changeset viewer.