Title: [272559] trunk/Source/WebKit
- Revision
- 272559
- Author
- [email protected]
- Date
- 2021-02-08 16:32:05 -0800 (Mon, 08 Feb 2021)
Log Message
Crash with remote layer tree logging
https://bugs.webkit.org/show_bug.cgi?id=221580
Reviewed by Tim Horton.
Null-check animation.timingFunction when dumping remote layer tree animations.
* WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
(WebKit::operator<<):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (272558 => 272559)
--- trunk/Source/WebKit/ChangeLog 2021-02-09 00:22:24 UTC (rev 272558)
+++ trunk/Source/WebKit/ChangeLog 2021-02-09 00:32:05 UTC (rev 272559)
@@ -1,3 +1,15 @@
+2021-02-08 Simon Fraser <[email protected]>
+
+ Crash with remote layer tree logging
+ https://bugs.webkit.org/show_bug.cgi?id=221580
+
+ Reviewed by Tim Horton.
+
+ Null-check animation.timingFunction when dumping remote layer tree animations.
+
+ * WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
+ (WebKit::operator<<):
+
2021-02-08 Alex Christensen <[email protected]>
Use CompletionHandler instead of BoolCallback
Modified: trunk/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm (272558 => 272559)
--- trunk/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm 2021-02-09 00:22:24 UTC (rev 272558)
+++ trunk/Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm 2021-02-09 00:32:05 UTC (rev 272559)
@@ -937,7 +937,8 @@
ts.dumpProperty("fillMode", animation.fillMode);
ts.dumpProperty("valueFunction", animation.valueFunction);
- ts.dumpProperty<const TimingFunction&>("timing function", *animation.timingFunction);
+ if (animation.timingFunction)
+ ts.dumpProperty<const TimingFunction&>("timing function", *animation.timingFunction);
if (animation.autoReverses)
ts.dumpProperty("autoReverses", animation.autoReverses);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes