Title: [280394] trunk/Source/WebCore
- Revision
- 280394
- Author
- [email protected]
- Date
- 2021-07-28 12:10:36 -0700 (Wed, 28 Jul 2021)
Log Message
Deploy more use of smart pointers in Document.cpp
https://bugs.webkit.org/show_bug.cgi?id=228544
A partial revert of r280390 to fix builds. AppHighlightStorage isn't really ref-counted.
* dom/Document.cpp:
(WebCore::Document::finishedParsing):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (280393 => 280394)
--- trunk/Source/WebCore/ChangeLog 2021-07-28 18:57:49 UTC (rev 280393)
+++ trunk/Source/WebCore/ChangeLog 2021-07-28 19:10:36 UTC (rev 280394)
@@ -1,6 +1,16 @@
2021-07-28 Ryosuke Niwa <[email protected]>
Deploy more use of smart pointers in Document.cpp
+ https://bugs.webkit.org/show_bug.cgi?id=228544
+
+ A partial revert of r280390 to fix builds. AppHighlightStorage isn't really ref-counted.
+
+ * dom/Document.cpp:
+ (WebCore::Document::finishedParsing):
+
+2021-07-28 Ryosuke Niwa <[email protected]>
+
+ Deploy more use of smart pointers in Document.cpp
https://bugs.webkit.org/show_bug.cgi?id=228544
Reviewed by Darin Adler.
Modified: trunk/Source/WebCore/dom/Document.cpp (280393 => 280394)
--- trunk/Source/WebCore/dom/Document.cpp 2021-07-28 18:57:49 UTC (rev 280393)
+++ trunk/Source/WebCore/dom/Document.cpp 2021-07-28 19:10:36 UTC (rev 280394)
@@ -6099,7 +6099,7 @@
#endif
#if ENABLE(APP_HIGHLIGHTS)
- if (RefPtr appHighlightStorage = appHighlightStorageIfExists())
+ if (auto* appHighlightStorage = appHighlightStorageIfExists())
appHighlightStorage->restoreUnrestoredAppHighlights();
#endif
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes