[webkit-reviews] review granted: [Bug 199848] [WebKit] Add PageLoadState::Observer C API : [Attachment 375147] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 10:18:11 PDT 2019

Alex Christensen <achristensen at apple.com> has granted Fujii Hironori
<Hironori.Fujii at sony.com>'s request for review:
Bug 199848: [WebKit] Add PageLoadState::Observer C API

Attachment 375147: Patch


--- Comment #12 from Alex Christensen <achristensen at apple.com> ---
Comment on attachment 375147
  --> https://bugs.webkit.org/attachment.cgi?id=375147

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

> Source/WebKit/UIProcess/WebPageProxy.cpp:639
> +void

My earlier feedback was mistaken.  We ought to be able to call
WKPageSetPageStateClient with nullptr and have it clear the observer.  That
would bring this back to a std::unique_ptr.  Please do that, add that to the
test, and r=me.

More information about the webkit-reviews mailing list