https://bugs.webkit.org/show_bug.cgi?id=134900
Reviewed by Simon Fraser.
* UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
(-[OneShotDisplayLinkHandler displayLinkFired:]):
isMainThread means the Web thread sometimes.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@171087
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2014-07-14 Tim Horton <timothy_horton@apple.com>
+
+ ASSERT(isMainThread()) under OneShotDisplayLinkHandler
+ https://bugs.webkit.org/show_bug.cgi?id=134900
+
+ Reviewed by Simon Fraser.
+
+ * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
+ (-[OneShotDisplayLinkHandler displayLinkFired:]):
+ isMainThread means the Web thread sometimes.
+
2014-07-14 Tim Horton <timothy_horton@apple.com>
Fix the build.
- (void)displayLinkFired:(CADisplayLink *)sender
{
- ASSERT(isMainThread());
+ ASSERT(isUIThread());
_drawingAreaProxy->didRefreshDisplay(sender.timestamp);
_displayLink.paused = YES;
}