Chromium Code Reviews
DescriptionFix nullptr dereference in MojoBindingsController
Based on the DCHECK in
RenderFrameImpl::runScriptsAtDocumentElementAvailable,
it's possible for |frame_| to be null when calling
MojoBindingsController::RunScriptsAtDocumentReady. The latter
assumes this isn't possible and uses the result of GetWebFrame()
without checking it.
This CL fixes that to avoid a potential nullptr dereference.
BUG=595875
R=jam@chromium.org
Patch Set 1 #
Messages
Total messages: 3 (1 generated)
|
|||||||||||||||||||