Bug 189500

Summary: Add missing #if ENABLE(VIDEO) Page.cpp and Page.h
Product: WebKit Reporter: Pablo Saavedra <psaavedra>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: andersca, ap, cdumez, commit-queue, jiewen_tan, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
patch none

Pablo Saavedra
Reported 2018-09-11 08:13:54 PDT
playbackControlsManagerUpdateTimerFired and m_playbackControlsManagerUpdateTimer must be guarded with ENABLE(VIDEO), otherwise the following error occurs with the VIDEO feature turned off error: 'MediaElementSession' has not been declared in L1520 Source/WebCore/page/Page.cpp
Attachments
patch (3.46 KB, patch)
2018-09-11 08:20 PDT, Pablo Saavedra
no flags
Pablo Saavedra
Comment 1 2018-09-11 08:20:19 PDT
WebKit Commit Bot
Comment 2 2018-09-11 09:07:52 PDT
Comment on attachment 349395 [details] patch Clearing flags on attachment: 349395 Committed r235895: <https://trac.webkit.org/changeset/235895>
WebKit Commit Bot
Comment 3 2018-09-11 09:07:54 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2018-09-11 09:08:23 PDT
youenn fablet
Comment 5 2018-09-11 09:18:06 PDT
Comment on attachment 349395 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=349395&action=review > Source/WebCore/ChangeLog:8 > + error: 'MediaElementSession' has not been declared These explanations should be between "Reviewed by NOBODY (OOPS!)." and the filename list. > Source/WebCore/page/Page.cpp:1525 > void Page::playbackControlsManagerUpdateTimerFired() Would it be ok to just #if ENABLE(VIDEO) inside Page::playbackControlsManagerUpdateTimerFired? It might remove the need for the other #if/#endif
Note You need to log in before you can comment on or make changes to this bug.