Title: [285514] trunk/Source/WebKit
Revision
285514
Author
drou...@apple.com
Date
2021-11-09 11:10:27 -0800 (Tue, 09 Nov 2021)

Log Message

Unreviewed internal build fix after r285424
<rdar://problem/85207411>

```
WKScrollView.mm:227:35: error: incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'UIColor * _Nullable'
```

* UIProcess/ios/WKScrollView.mm:
(-[WKScrollView setBackgroundColor:]):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (285513 => 285514)


--- trunk/Source/WebKit/ChangeLog	2021-11-09 19:05:05 UTC (rev 285513)
+++ trunk/Source/WebKit/ChangeLog	2021-11-09 19:10:27 UTC (rev 285514)
@@ -1,3 +1,15 @@
+2021-11-09  Devin Rousso  <drou...@apple.com>
+
+        Unreviewed internal build fix after r285424
+        <rdar://problem/85207411>
+
+        ```
+        WKScrollView.mm:227:35: error: incompatible pointer to integer conversion assigning to 'BOOL' (aka 'signed char') from 'UIColor * _Nullable'
+        ```
+
+        * UIProcess/ios/WKScrollView.mm:
+        (-[WKScrollView setBackgroundColor:]):
+
 2021-11-09  Sihui Liu  <sihui_...@apple.com>
 
         Fix wrong frame count of CARingBuffer in SpeechRecognitionRemoteRealtimeMediaSource

Modified: trunk/Source/WebKit/UIProcess/ios/WKScrollView.mm (285513 => 285514)


--- trunk/Source/WebKit/UIProcess/ios/WKScrollView.mm	2021-11-09 19:05:05 UTC (rev 285513)
+++ trunk/Source/WebKit/UIProcess/ios/WKScrollView.mm	2021-11-09 19:10:27 UTC (rev 285514)
@@ -224,7 +224,7 @@
 
 - (void)setBackgroundColor:(UIColor *)backgroundColor
 {
-    _backgroundColorSetByClient = backgroundColor;
+    _backgroundColorSetByClient = !!backgroundColor;
 
     super.backgroundColor = backgroundColor;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to