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
189500
Add missing #if ENABLE(VIDEO) Page.cpp and Page.h
https://bugs.webkit.org/show_bug.cgi?id=189500
Summary
Add missing #if ENABLE(VIDEO) Page.cpp and Page.h
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
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pablo Saavedra
Comment 1
2018-09-11 08:20:19 PDT
Created
attachment 349395
[details]
patch
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
<
rdar://problem/44344299
>
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.
Top of Page
Format For Printing
XML
Clone This Bug