Bug 225979 - REGRESSION(r277505): Crash under WTF::Detail::CallableWrapper<WebKit::WebPageProxy::setUnderPageBackgroundColorOverride(WebCore::Color&&)::$_10, void>::call
Summary: REGRESSION(r277505): Crash under WTF::Detail::CallableWrapper<WebKit::WebPage...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Devin Rousso
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-05-19 13:03 PDT by Devin Rousso
Modified: 2021-05-20 14:54 PDT (History)
5 users (show)

See Also:


Attachments
Patch (1.70 KB, patch)
2021-05-19 13:09 PDT, Devin Rousso
thorton: review+
Details | Formatted Diff | Diff
Patch (1.71 KB, patch)
2021-05-20 14:18 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Devin Rousso 2021-05-19 13:03:22 PDT
.
Comment 1 Devin Rousso 2021-05-19 13:03:38 PDT
<rdar://problem/78130098>
Comment 2 Devin Rousso 2021-05-19 13:09:19 PDT
Created attachment 429089 [details]
Patch
Comment 3 Tim Horton 2021-05-20 14:12:59 PDT
Comment on attachment 429089 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429089&action=review

> Source/WebKit/UIProcess/WebPageProxy.cpp:1958
> +        if (m_pageClient)
> +            didChangeBackgroundColor();

Hmm, I would expect it here if you had moved the dereferencing of m_pageClient here, but inside didChangeBackgroundColor if you didn't. Why this version?
Comment 4 Devin Rousso 2021-05-20 14:16:35 PDT
Comment on attachment 429089 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=429089&action=review

>> Source/WebKit/UIProcess/WebPageProxy.cpp:1958
>> +            didChangeBackgroundColor();
> 
> Hmm, I would expect it here if you had moved the dereferencing of m_pageClient here, but inside didChangeBackgroundColor if you didn't. Why this version?

No particular reason.  Just trying to keep the diff smaller I suppose.  I'll add `m_pageClient->didChangeBackgroundColor()` here instead.
Comment 5 Devin Rousso 2021-05-20 14:18:49 PDT
Created attachment 429221 [details]
Patch
Comment 6 EWS 2021-05-20 14:54:00 PDT
Committed r277827 (237973@main): <https://commits.webkit.org/237973@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 429221 [details].