Bug 170539 - [GTK] Fix build with MEDIA_CAPTURE enabled
Summary: [GTK] Fix build with MEDIA_CAPTURE enabled
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Adrian Perez
: 170542 (view as bug list)
Depends on:
Reported: 2017-04-06 00:21 PDT by Adrian Perez
Modified: 2017-04-06 02:58 PDT (History)
9 users (show)

See Also:

Patch (1.63 KB, patch)
2017-04-06 02:08 PDT, Adrian Perez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Perez 2017-04-06 00:21:45 PDT
Enabling MEDIA_CAPTURE (for exaple with “build-webkit --media-capture”) causes
compilation to fail with the following error.

    In function ‘gboolean webkit_dom_html_input_element_get_capture(WebKitDOMHTMLInputElement*)’:
    error: ‘MediaCaptureTypeNone’ was not declared in this scope
       return item->mediaCaptureType() != MediaCaptureTypeNone;

The definition is still around, but this code should be using
“WebCore::MediaCaptureTypeNone”. I'll be posting a patch soon.
Comment 1 Adrian Perez 2017-04-06 02:08:21 PDT
Created attachment 306370 [details]
Comment 2 Carlos Garcia Campos 2017-04-06 02:57:16 PDT
*** Bug 170542 has been marked as a duplicate of this bug. ***
Comment 3 WebKit Commit Bot 2017-04-06 02:58:21 PDT
Comment on attachment 306370 [details]

Clearing flags on attachment: 306370

Committed r215009: <http://trac.webkit.org/changeset/215009>
Comment 4 WebKit Commit Bot 2017-04-06 02:58:23 PDT
All reviewed patches have been landed.  Closing bug.