Skip to content

Commit feba7f8

Browse files
committed
Update the identifier that AsyncDisplayKit uses to label its internal queues (2/2).
1 parent 447159f commit feba7f8

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

AsyncDisplayKit/ASDisplayNode.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1645,7 +1645,7 @@ + (dispatch_queue_t)asyncSizingQueue
16451645
static dispatch_queue_t asyncSizingQueue = NULL;
16461646
static dispatch_once_t onceToken;
16471647
dispatch_once(&onceToken, ^{
1648-
asyncSizingQueue = dispatch_queue_create("com.facebook.AsyncDisplayKit.ASDisplayNode.asyncSizingQueue", DISPATCH_QUEUE_CONCURRENT);
1648+
asyncSizingQueue = dispatch_queue_create("org.AsyncDisplayKit.ASDisplayNode.asyncSizingQueue", DISPATCH_QUEUE_CONCURRENT);
16491649
// we use the highpri queue to prioritize UI rendering over other async operations
16501650
dispatch_set_target_queue(asyncSizingQueue, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0));
16511651
});

AsyncDisplayKit/Details/ASDataController.mm

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ + (dispatch_queue_t)sizingQueue
9494
static dispatch_queue_t sizingQueue = NULL;
9595
static dispatch_once_t onceToken;
9696
dispatch_once(&onceToken, ^{
97-
sizingQueue = dispatch_queue_create("com.facebook.AsyncDisplayKit.ASDataController.sizingQueue", DISPATCH_QUEUE_SERIAL);
97+
sizingQueue = dispatch_queue_create("org.AsyncDisplayKit.ASDataController.sizingQueue", DISPATCH_QUEUE_SERIAL);
9898
dispatch_queue_set_specific(sizingQueue, kASSizingQueueContext, kASSizingQueueContext, NULL);
9999
dispatch_set_target_queue(sizingQueue, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0));
100100
});
@@ -332,7 +332,8 @@ - (void)beginUpdates
332332
});
333333
}
334334

335-
- (void)endUpdates {
335+
- (void)endUpdates
336+
{
336337
[self endUpdatesWithCompletion:NULL];
337338
}
338339

AsyncDisplayKit/Details/ASTextNodeWordKerner.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ - (CGFloat)_wordKernedSpaceWidthForCharacterAtIndex:(NSUInteger)characterIndex a
9090
static dispatch_once_t onceToken;
9191
dispatch_once(&onceToken, ^{
9292
spaceSizes = [[NSMapTable alloc] initWithKeyOptions:NSMapTableStrongMemory valueOptions:NSMapTableStrongMemory capacity:1];
93-
mapQueue = dispatch_queue_create("com.facebook.AsyncDisplayKit.wordKerningQueue", DISPATCH_QUEUE_SERIAL);
93+
mapQueue = dispatch_queue_create("org.AsyncDisplayKit.wordKerningQueue", DISPATCH_QUEUE_SERIAL);
9494
});
9595
CGFloat ordinarySpaceWidth;
9696
UIFont *font = [layoutManager.textStorage attribute:NSFontAttributeName atIndex:characterIndex effectiveRange:NULL];

AsyncDisplayKit/Details/_ASDisplayLayer.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ + (dispatch_queue_t)displayQueue
129129
static dispatch_queue_t displayQueue = NULL;
130130
static dispatch_once_t onceToken;
131131
dispatch_once(&onceToken, ^{
132-
displayQueue = dispatch_queue_create("com.facebook.AsyncDisplayKit.ASDisplayLayer.displayQueue", DISPATCH_QUEUE_CONCURRENT);
132+
displayQueue = dispatch_queue_create("org.AsyncDisplayKit.ASDisplayLayer.displayQueue", DISPATCH_QUEUE_CONCURRENT);
133133
// we use the highpri queue to prioritize UI rendering over other async operations
134134
dispatch_set_target_queue(displayQueue, dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_HIGH, 0));
135135
});

0 commit comments

Comments
 (0)