You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 28, 2025. It is now read-only.
if (CGSizeEqualToSize(layoutProperties->_intrinsicContentSize, newContentSize)) {
474
474
if (DEBUG_AUTO_LAYOUT_LIGHT) {
475
475
TraceVerbose(TAG, L"autoLayoutInvalidateContentSize: Size {%f, %f} didn't change; no need to revalidate constraints; no need to re-layout %hs(0x%p).",
476
-
object_getClassName(self),
477
-
self,
478
476
newContentSize.width,
479
-
newContentSize.height);
477
+
newContentSize.height,
478
+
object_getClassName(self),
479
+
self);
480
480
}
481
481
482
482
// No more work left to be done; the size didn't actually change.
483
483
returnNO;
484
484
} else {
485
485
if (DEBUG_AUTO_LAYOUT_LIGHT) {
486
486
TraceVerbose(TAG, L"autoLayoutInvalidateContentSize: intrinsicContentSize changed from {%f, %f} to {%f, %f}; need to revalidate constraints and re-layout %hs(0x%p).",
TraceError(TAG, L"Invalid data stride: a %ux%u %ubpp context requires at least a %u-byte stride (requested: %u bytes/row).", width, height, imputedBitsPerPixel, estimatedBytesPerRow, bytesPerRow);
2944
+
returnnullptr;
2945
+
}
2946
+
2947
+
if (!bytesPerRow) { // When data is not provided, we are allowed to use our estimates.
0 commit comments