-
Committer:
Chris Coulson
-
Date:
2015-01-19 22:49:05 UTC
-
Revision ID:
chris.coulson@canonical.com-20150119224905-1j6jtds3wd7xo144
Avoid storing a raw pointer to WebView in classes in shared/browser/media - these classes outlive WebView on shutdown, creating potential use-after-free bugs. Instead, use WebView::FromRenderFrameHost (the code already ensures that the pointer to RenderFrameHost remains valid)