Bug 110679 - [Chromium] Get webView client's userMediaClient on demand
Summary: [Chromium] Get webView client's userMediaClient on demand
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: wjia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-22 18:28 PST by wjia
Modified: 2013-04-08 16:33 PDT (History)
6 users (show)

See Also:


Attachments
Patch (2.67 KB, patch)
2013-02-22 18:34 PST, wjia
benjamin: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wjia 2013-02-22 18:28:22 PST
Currently, when ENABLE(MEDIA_STREAM) is set to 1, UserMediaClientImpl is included in WebViewImpl as a member. When WebViewImpl is created, UserMediaClientImpl's ctor is called and it will get try to get client's userMediaClient. However, when visiting a page on which there is no media stream stuff, this is unnecessary.

It's proposed to get client's userMediaClient on demand, i.e., only when UserMediaClientImpl is used.
Comment 1 wjia 2013-02-22 18:34:43 PST
Created attachment 189891 [details]
Patch