[webkit-changes] [WebKit/WebKit] faff4e: Document::m_cssTarget should be a smart pointer
Ryosuke Niwa
noreply at github.com
Tue Jan 24 15:21:55 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: faff4e3fa083f0e35147b423338648f11412791c
https://github.com/WebKit/WebKit/commit/faff4e3fa083f0e35147b423338648f11412791c
Author: Ryosuke Niwa <rniwa at webkit.org>
Date: 2023-01-24 (Tue, 24 Jan 2023)
Changed paths:
M Source/WebCore/dom/Document.cpp
M Source/WebCore/dom/Document.h
Log Message:
-----------
Document::m_cssTarget should be a smart pointer
https://bugs.webkit.org/show_bug.cgi?id=251104
Reviewed by Chris Dumez.
Use WeakPtr instead of a raw pointer for Document::m_cssTarget.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::cssTarget const):
* Source/WebCore/dom/Document.h:
(WebCore::Document::cssTarget const): Deleted.
Canonical link: https://commits.webkit.org/259311@main
More information about the webkit-changes
mailing list