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.
Created attachment 189891 [details] Patch