Bug 110679

Summary: [Chromium] Get webView client's userMediaClient on demand
Product: WebKit Reporter: wjia
Component: MediaAssignee: wjia
Status: RESOLVED WONTFIX    
Severity: Normal CC: darin, eric.carlson, feature-media-reviews, jer.noble, schenney, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch benjamin: review-

wjia
Reported 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.
Attachments
Patch (2.67 KB, patch)
2013-02-22 18:34 PST, wjia
benjamin: review-
wjia
Comment 1 2013-02-22 18:34:43 PST
Note You need to log in before you can comment on or make changes to this bug.