WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
227026
ANGLE Metal AutoObjCPtr == nullptr comparison is inverted
https://bugs.webkit.org/show_bug.cgi?id=227026
Summary
ANGLE Metal AutoObjCPtr == nullptr comparison is inverted
Kimmo Kinnunen
Reported
2021-06-15 07:19:26 PDT
ANGLE Metal AutoObjCPtr == comparison is inverted
Attachments
Patch
(1.86 KB, patch)
2021-06-15 07:25 PDT
,
Kimmo Kinnunen
no flags
Details
Formatted Diff
Diff
Patch for landing
(2.43 KB, patch)
2021-06-15 07:47 PDT
,
Kimmo Kinnunen
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2021-06-15 07:25:33 PDT
Created
attachment 431436
[details]
Patch
EWS Watchlist
Comment 2
2021-06-15 07:26:34 PDT
Note that there are important steps to take when updating ANGLE. See
https://trac.webkit.org/wiki/UpdatingANGLE
Anders Carlsson
Comment 3
2021-06-15 07:39:22 PDT
Comment on
attachment 431436
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=431436&action=review
> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/mtl_common.h:276 > + bool operator==(const std::nullptr_t &) const { return this->get() == nullptr; }
I think this can/should just be bool operator==(std::nullptr_t) const;
> Source/ThirdParty/ANGLE/src/libANGLE/renderer/metal/mtl_common.h:284 > + bool operator!=(const std::nullptr_t &) const { return this->get() != nullptr; }
bool operator!=(std::nullptr_t) const;
Kimmo Kinnunen
Comment 4
2021-06-15 07:47:08 PDT
Created
attachment 431438
[details]
Patch for landing
EWS
Comment 5
2021-06-16 01:40:52 PDT
Committed
r278926
(
238857@main
): <
https://commits.webkit.org/238857@main
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 431438
[details]
.
Radar WebKit Bug Importer
Comment 6
2021-06-16 01:41:25 PDT
<
rdar://problem/79385866
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug