Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r180535 - WTF::WeakPtr should rename 'forgot' to 'clear' and su…
…pport nullptr assignment https://bugs.webkit.org/show_bug.cgi?id=141935 Reviewed by Myles C. Maxfield. Source/WTF: * wtf/WeakPtr.h: (WTF::WeakPtr::operator=): Added 'nullptr_t' overload. (WTF::WeakPtr::clear): Renamed from 'forget' (WTF::WeakPtr::forget): Deleted. Tools: * TestWebKitAPI/Tests/WTF/WeakPtr.cpp: (TestWebKitAPI::TEST): Updated for 'clear' method rename, and added a few tests for assigning from nullptr.
- Loading branch information
1 parent
7f91720
commit 7c1199b
Showing
4 changed files
with
53 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters