Bug 147259

Summary: Fix the !ENABLE(MEDIA_STREAM) build after r187282
Product: WebKit Reporter: Csaba Osztrogonác <ossy>
Component: New BugsAssignee: Csaba Osztrogonác <ossy>
Status: RESOLVED FIXED    
Severity: Normal CC: bfulgham, cgarcia, mdaiter, ossy
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 147202    
Attachments:
Description Flags
Patch none

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]
Patch
Comment 2 Csaba Osztrogonác 2015-07-24 06:02:38 PDT
Already fixed in https://trac.webkit.org/r187338