Bug 147259 - Fix the !ENABLE(MEDIA_STREAM) build after r187282
Summary: Fix the !ENABLE(MEDIA_STREAM) build after r187282
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Csaba Osztrogonác
Depends on:
Blocks: 147202
  Show dependency treegraph
Reported: 2015-07-24 02:40 PDT by Csaba Osztrogonác
Modified: 2015-07-24 06:02 PDT (History)
4 users (show)

See Also:

Patch (2.11 KB, patch)
2015-07-24 02:41 PDT, Csaba Osztrogonác
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Csaba Osztrogonác 2015-07-24 02:40:43 PDT
http://trac.webkit.org/changeset/187282 broke the !ENABLE(MEDIA_STREAM) build:

In file included from ../../Source/WebKit2/UIProcess/UserMediaPermissionRequestManagerProxy.h:22:0,
                 from ../../Source/WebKit2/UIProcess/WebPageProxy.h:49,
                 from ../../Source/WebKit2/UIProcess/WebProcessProxy.h:39,
                 from ../../Source/WebKit2/UIProcess/WebProcessPool.h:46,
                 from ../../Source/WebKit2/UIProcess/VisitedLinkProvider.cpp:34:
../../Source/WebKit2/UIProcess/UserMediaPermissionRequestProxy.h:44:63: error: 'WebCore::RealtimeMediaSource' has not been declared

class RealtimeMediaSource is defined in WebCore/platform/mediastream/RealtimeMediaSource.h
inside ENABLE(MEDIA_STREAM), so all of its usage should be guarded too.
Comment 1 Csaba Osztrogonác 2015-07-24 02:41:52 PDT
Created attachment 257447 [details]
Comment 2 Csaba Osztrogonác 2015-07-24 06:02:38 PDT
Already fixed in https://trac.webkit.org/r187338