Chromium Code Reviews
DescriptionReland: WTF: Simplify RefPtr::operator bool.
The problematic case in String::find on ARM should now be gone, and so this
should be both simpler and equally fast.
Comparing to nullptr is used to coerce to boolean to work around bug 621177
(even though this is usually not the preferred way to do this in Blink).
BUG=607208, 621177
Committed: https://crrev.com/4db41c4c92314447a07a2255d97c344547f97ce7
Cr-Commit-Position: refs/heads/master@{#401897}
Patch Set 1 : previously landed as r400315 #Patch Set 2 : Use !! #
Total comments: 2
Patch Set 3 : != nullptr #
Messages
Total messages: 14 (6 generated)
|
||||||||||||||||||||||||||||