Title: [257471] trunk/Source/WebKit
Revision
257471
Author
[email protected]
Date
2020-02-26 07:56:14 -0800 (Wed, 26 Feb 2020)

Log Message

Unreviewed, fix debug asserts on the bots after r257389.

* WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
(WebKit::InjectedBundleNodeHandle::create):

Modified Paths

Diff

Modified: trunk/Source/WebKit/ChangeLog (257470 => 257471)


--- trunk/Source/WebKit/ChangeLog	2020-02-26 15:29:35 UTC (rev 257470)
+++ trunk/Source/WebKit/ChangeLog	2020-02-26 15:56:14 UTC (rev 257471)
@@ -1,3 +1,10 @@
+2020-02-26  Chris Dumez  <[email protected]>
+
+        Unreviewed, fix debug asserts on the bots after r257389.
+
+        * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
+        (WebKit::InjectedBundleNodeHandle::create):
+
 2020-02-26  Youenn Fablet  <[email protected]>
 
         Conversion between MediaSample and RemoteVideoSample should preserve the rotation information

Modified: trunk/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp (257470 => 257471)


--- trunk/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp	2020-02-26 15:29:35 UTC (rev 257470)
+++ trunk/Source/WebKit/WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp	2020-02-26 15:56:14 UTC (rev 257471)
@@ -95,7 +95,9 @@
 
 Ref<InjectedBundleNodeHandle> InjectedBundleNodeHandle::create(Node& node)
 {
-    return adoptRef(*new InjectedBundleNodeHandle(node));
+    auto handle = adoptRef(*new InjectedBundleNodeHandle(node));
+    handle->suspendIfNeeded();
+    return handle;
 }
 
 InjectedBundleNodeHandle::InjectedBundleNodeHandle(Node& node)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to