WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
189506
Add missing #if ENABLE(VIDEO) WebProcess/FullScreen/WebFullScreenManager.cpp
https://bugs.webkit.org/show_bug.cgi?id=189506
Summary
Add missing #if ENABLE(VIDEO) WebProcess/FullScreen/WebFullScreenManager.cpp
Pablo Saavedra
Reported
2018-09-11 10:48:24 PDT
the use of `m_pipStandbyElement` must be guarded with ENABLE(VIDEO), otherwise a compilation error occurs with the VIDEO feature turned off m_pipStandbyElement is only defined in Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.h when ENABLE(VIDEO): ``` #if ENABLE(VIDEO) RefPtr<WebCore::HTMLVideoElement> m_pipStandbyElement; #endif ```
Attachments
patch
(1.82 KB, patch)
2018-09-11 10:59 PDT
,
Pablo Saavedra
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pablo Saavedra
Comment 1
2018-09-11 10:59:31 PDT
Created
attachment 349412
[details]
patch
Tim Horton
Comment 2
2018-09-11 11:00:29 PDT
Comment on
attachment 349412
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=349412&action=review
> Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:102 > +#if ENABLE(VIDEO)
!ENABLE(VIDEO) knows what HTMLVideoElement is, though??
Pablo Saavedra
Comment 3
2018-09-11 11:03:25 PDT
Related with
https://bugs.webkit.org/show_bug.cgi?id=181338
WebKit Commit Bot
Comment 4
2018-09-11 11:38:36 PDT
Comment on
attachment 349412
[details]
patch Clearing flags on attachment: 349412 Committed
r235906
: <
https://trac.webkit.org/changeset/235906
>
WebKit Commit Bot
Comment 5
2018-09-11 11:38:37 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6
2018-09-11 11:39:22 PDT
<
rdar://problem/44350074
>
Pablo Saavedra
Comment 7
2018-09-11 11:43:05 PDT
(In reply to Tim Horton from
comment #2
)
> Comment on
attachment 349412
[details]
> patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=349412&action=review
> > > Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:102 > > +#if ENABLE(VIDEO) > > !ENABLE(VIDEO) knows what HTMLVideoElement is, though??
(In reply to Tim Horton from
comment #2
)
> Comment on
attachment 349412
[details]
> patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=349412&action=review
> > > Source/WebKit/WebProcess/FullScreen/WebFullScreenManager.cpp:102 > > +#if ENABLE(VIDEO) > > !ENABLE(VIDEO) knows what HTMLVideoElement is, though??
WebCore/html/HTMLVideoElement.h Yes, it seems HTMLVideoElement is declared in the Webcore namespace in the top `WebKit/WebProcess/FullScreen/WebFullScreenManager.h` namespace WebCore { class IntRect; class Element; class GraphicsLayer; class HTMLVideoElement; } Since HTMLVideoElement is not actually used in a statement but in a declaration in the signature of the function is the reason why is valid.
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