RESOLVED FIXED 229624
Define ENABLE_CONTENT_CHANGE_OBSERVER for IOS_FAMILY and use it to wrap content observation code
https://bugs.webkit.org/show_bug.cgi?id=229624
Summary Define ENABLE_CONTENT_CHANGE_OBSERVER for IOS_FAMILY and use it to wrap conte...
Simon Fraser (smfr)
Reported 2021-08-27 12:51:53 PDT
Define ENABLE_CONTENT_CHANGE_OBSERVER for IOS_FAMILY and use it to wrap content observation code
Attachments
Patch (18.70 KB, patch)
2021-08-27 12:52 PDT, Simon Fraser (smfr)
zalan: review+
ews-feeder: commit-queue-
Simon Fraser (smfr)
Comment 1 2021-08-27 12:52:32 PDT
EWS
Comment 2 2021-08-27 16:40:43 PDT
/Volumes/Data/worker/Commit-Queue/build/Source/WTF/ChangeLog neither lists a valid reviewer nor contains the string "Unreviewed" or "Rubber stamp" (case insensitive).
Simon Fraser (smfr)
Comment 3 2021-08-27 17:26:19 PDT
Radar WebKit Bug Importer
Comment 4 2021-08-27 17:27:31 PDT
Darin Adler
Comment 5 2021-08-27 17:32:26 PDT
Comment on attachment 436659 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=436659&action=review > Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:355 > auto& frame = m_page->focusController().focusedOrMainFrame(); > +#if ENABLE(CONTENT_CHANGE_OBSERVER) Why did we leave this line above out of the #if?
Simon Fraser (smfr)
Comment 6 2021-08-27 17:53:55 PDT
(In reply to Darin Adler from comment #5) > Comment on attachment 436659 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=436659&action=review > > > Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm:355 > > auto& frame = m_page->focusController().focusedOrMainFrame(); > > +#if ENABLE(CONTENT_CHANGE_OBSERVER) > > Why did we leave this line above out of the #if? That was a mistake. I saw focusController() and assumed it had side effects. Will fix.
Simon Fraser (smfr)
Comment 7 2021-08-27 17:57:53 PDT
Note You need to log in before you can comment on or make changes to this bug.