ASSERT(isMainThread()) under OneShotDisplayLinkHandler
[WebKit-https.git] / Source / WebKit2 / UIProcess / mac / RemoteLayerTreeDrawingAreaProxy.mm
index 721309073208631cf4cc64529193f8267e78a77b..c48e01d1eba2aabcbc07a85bb6080f93a8b3d5b3 100644 (file)
@@ -77,7 +77,7 @@ using namespace WebCore;
 
 - (void)displayLinkFired:(CADisplayLink *)sender
 {
-    ASSERT(isMainThread());
+    ASSERT(isUIThread());
     _drawingAreaProxy->didRefreshDisplay(sender.timestamp);
     _displayLink.paused = YES;
 }