Changeset 182585 in webkit
- Timestamp:
- Apr 8, 2015, 8:44:44 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r182581 r182585 1 2015-04-08 Simon Fraser <simon.fraser@apple.com> 2 3 Add a debug assertion that will fire if we try to paint layer contents on a background thread 4 https://bugs.webkit.org/show_bug.cgi?id=143547 5 6 Reviewed by Alexey Proskuryakov. 7 8 New assertion to catch cases where other frameworks erroneously trigger painting 9 on a non-main (or non-Web) thread. 10 11 * platform/graphics/mac/WebLayer.mm: 12 (-[WebSimpleLayer display]): 13 (-[WebSimpleLayer drawInContext:]): 14 1 15 2015-04-08 Brent Fulgham <bfulgham@apple.com> 2 16 -
trunk/Source/WebCore/platform/graphics/mac/WebLayer.mm
r170071 r182585 108 108 WebThreadLock(); 109 109 #endif 110 ASSERT(isMainThread()); 110 111 [super display]; 111 112 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); … … 120 121 WebThreadLock(); 121 122 #endif 123 ASSERT(isMainThread()); 122 124 PlatformCALayer* layer = PlatformCALayer::platformCALayer(self); 123 125 if (layer && layer->owner()) {
Note:
See TracChangeset
for help on using the changeset viewer.