Correct spelling errors

This commit is contained in:
Eric Jensen
2016-03-09 11:29:46 -08:00
parent f97a509541
commit ddd5ff1f75
35 changed files with 68 additions and 69 deletions

View File

@@ -64,7 +64,7 @@ static void __ASDisplayLayerIncrementConcurrentDisplayCount(BOOL displayIsAsync,
*/
static void __ASDisplayLayerDecrementConcurrentDisplayCount(BOOL displayIsAsync, BOOL isRasterizing)
{
// Displays while rasterizing are not counted as concurrent displays, becuase they draw in serial when their rasterizing container displays.
// Displays while rasterizing are not counted as concurrent displays, because they draw in serial when their rasterizing container displays.
if (isRasterizing) {
return;
}
@@ -92,7 +92,7 @@ static void __ASDisplayLayerDecrementConcurrentDisplayCount(BOOL displayIsAsync,
BOOL rasterizingFromAscendent = (_hierarchyState & ASHierarchyStateRasterized);
// if super node is rasterizing descendents, subnodes will not have had layout calls because they don't have layers
// if super node is rasterizing descendants, subnodes will not have had layout calls because they don't have layers
if (rasterizingFromAscendent) {
[self __layout];
}