[Webkit-unassigned] [Bug 75076] Robustify UserMediaClient and UserMediaRequest lifetime handling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 14 12:41:55 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=75076





--- Comment #4 from Darin Adler <darin at apple.com>  2012-08-14 12:42:25 PST ---
(From update of attachment 120296)
View in context: https://bugs.webkit.org/attachment.cgi?id=120296&action=review

> Source/WebKit/chromium/src/UserMediaClientImpl.cpp:62
> -        m_client->requestUserMedia(request, sources);
> +        m_client->requestUserMedia(PassRefPtr<UserMediaRequest>(request), sources);

Why is this typecast needed? Normally you can pass a raw pointer to an argument of type PassRefPtr without an explicit type conversion.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list