Bug 207101

Summary: Build error with -DENABLE_VIDEO=OFF after r253923
Product: WebKit Reporter: Pablo Saavedra <psaavedra>
Component: WebCore Misc.Assignee: Pablo Saavedra <psaavedra>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, commit-queue, mcatanzaro, pv, sabouhallawa, simon.fraser, thorton, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Pablo Saavedra 2020-02-02 06:07:49 PST
```
../../Source/WebCore/page/Page.cpp:2872:18: error: ‘class WebCore::Document’ has no member named ‘forEachMediaElement’; did you mean ‘focusedElement’?
```
... but:

```
#if ENABLE(VIDEO)
    void forEachMediaElement(const Function<void(HTMLMediaElement&)>&);
#endif
```

... `Source/WebCore/dom/Document.h`.
Comment 1 Pablo Saavedra 2020-02-02 06:10:38 PST
Created attachment 389473 [details]
Patch
Comment 2 Pablo Saavedra 2020-02-02 09:07:42 PST
Created attachment 389476 [details]
Patch
Comment 3 WebKit Commit Bot 2020-02-04 07:48:37 PST
Comment on attachment 389476 [details]
Patch

Clearing flags on attachment: 389476

Committed r255673: <https://trac.webkit.org/changeset/255673>
Comment 4 WebKit Commit Bot 2020-02-04 07:48:39 PST
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2020-02-04 07:49:16 PST
<rdar://problem/59149024>
Comment 6 Philippe Normand 2020-04-07 04:10:32 PDT
*** Bug 206522 has been marked as a duplicate of this bug. ***