Changeset 238133 in webkit
- Timestamp:
- Nov 13, 2018 9:16:02 AM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r238129 r238133 1 2018-11-13 Alex Christensen <achristensen@webkit.org> 2 3 Fix internal builds after r238115 4 https://bugs.webkit.org/show_bug.cgi?id=191441 5 6 * UIProcess/Cocoa/WKSafeBrowsingWarning.mm: 7 (-[WKSafeBrowsingTextView intrinsicContentSize]): 8 Some iOS-like operating systems don't have safe browsing. Don't use symbols that don't exist on those systems. 9 1 10 2018-11-13 Ali Juma <ajuma@chromium.org> 2 11 -
trunk/Source/WebKit/UIProcess/Cocoa/WKSafeBrowsingWarning.mm
r238115 r238133 560 560 [self.layoutManager ensureLayoutForTextContainer:self.textContainer]; 561 561 return { NSViewNoIntrinsicMetric, [self.layoutManager usedRectForTextContainer:self.textContainer].size.height }; 562 #el se562 #elif HAVE(SAFE_BROWSING) 563 563 auto width = std::min<CGFloat>(maxWidth, [_warning frame].size.width) - 2 * marginSize; 564 564 constexpr auto noHeightConstraint = CGFLOAT_MAX; 565 565 return { width, [self sizeThatFits: { width, noHeightConstraint }].height }; 566 #else 567 return { 0, 0 }; 566 568 #endif 567 569 }
Note: See TracChangeset
for help on using the changeset viewer.