WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 65084
Build without video but fullscreen API is broken
https://bugs.webkit.org/show_bug.cgi?id=65084
Summary
Build without video but fullscreen API is broken
Denis Oliver Kropp
Reported
2011-07-24 13:58:29 PDT
Created
attachment 101833
[details]
Patch fixing missing isMediaElement() when building without video but fullscreen API Building without video support, but with fullscreen API is currently broken. The virtual method isMediaElement() is not defined in that case. Attached patch fixes this.
Attachments
Patch fixing missing isMediaElement() when building without video but fullscreen API
(815 bytes, patch)
2011-07-24 13:58 PDT
,
Denis Oliver Kropp
darin
: review-
Details
Formatted Diff
Diff
Proper fix for the bug.
(1.07 KB, patch)
2011-07-27 05:22 PDT
,
Denis Oliver Kropp
no flags
Details
Formatted Diff
Diff
Proper fix with ChangeLog entry.
(1.78 KB, patch)
2011-07-27 05:38 PDT
,
Denis Oliver Kropp
pnormand
: review-
Details
Formatted Diff
Diff
Final bug fix
(1.35 KB, patch)
2011-07-28 05:28 PDT
,
Denis Oliver Kropp
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Darin Adler
Comment 1
2011-07-24 17:34:18 PDT
Comment on
attachment 101833
[details]
Patch fixing missing isMediaElement() when building without video but fullscreen API View in context:
https://bugs.webkit.org/attachment.cgi?id=101833&action=review
> Source/WebCore/dom/Element.h:315 > -#if ENABLE(VIDEO) > +#if ENABLE(VIDEO) || ENABLE(FULLSCREEN_API)
This is the wrong fix. The right fix is to put the code in EventDispatcher::determineDispatchBehavior inside this: #if ENABLE(FULLSCREEN_API) && ENABLE(VIDEO)
Evgeny Burmentyev
Comment 2
2011-07-27 05:14:40 PDT
I build nightlies with --disable-video --disable-video-track, and I get the same error: Source/WebCore/dom/EventDispatcher.cpp:387:22: error: ‘class WebCore::Element’ has no member named ‘isMediaElement’ ...thus confirming the bug.
Denis Oliver Kropp
Comment 3
2011-07-27 05:22:40 PDT
Created
attachment 102132
[details]
Proper fix for the bug.
Philippe Normand
Comment 4
2011-07-27 05:28:16 PDT
Comment on
attachment 102132
[details]
Proper fix for the bug. This looks good but lacks a ChangeLog entry. Please see
http://www.webkit.org/coding/contributing.html
:)
Denis Oliver Kropp
Comment 5
2011-07-27 05:38:06 PDT
Created
attachment 102133
[details]
Proper fix with ChangeLog entry.
Philippe Normand
Comment 6
2011-07-28 03:51:02 PDT
Comment on
attachment 102133
[details]
Proper fix with ChangeLog entry. View in context:
https://bugs.webkit.org/attachment.cgi?id=102133&action=review
Almost there, thanks again for the patch!
> Source/WebCore/ChangeLog:3 > + This fixes build without video enabled.
Bug 65084
.
You need to have 2 lines, one for the bug description and the second line containing the link to the bug. prepare-ChangeLog --
bug 65084
can be used too :)
> Source/WebCore/dom/EventDispatcher.cpp:9 > + * Copyright (C) 2011 Denis Oliver Kropp (
dok@directfb.org
)
According to our contributor policy only substantive code changes allow a copyright update. This patch is quite small, so please remove this line.
Denis Oliver Kropp
Comment 7
2011-07-28 05:28:09 PDT
Created
attachment 102245
[details]
Final bug fix
Philippe Normand
Comment 8
2011-07-28 05:59:54 PDT
Comment on
attachment 102245
[details]
Final bug fix Thanks!
WebKit Review Bot
Comment 9
2011-07-28 07:12:53 PDT
Comment on
attachment 102245
[details]
Final bug fix Clearing flags on attachment: 102245 Committed
r91923
: <
http://trac.webkit.org/changeset/91923
>
WebKit Review Bot
Comment 10
2011-07-28 07:12:57 PDT
All reviewed patches have been landed. Closing bug.
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