Avoid crashing if |webview()->MainFrame()| is null.
This CL makes sure that RenderViewImpl::GetURLForGraphicsContext3D doesn't crash if |webview()->MainFrame()| is null. This restores the behavior of the code from r187650 which used to do the null check (the check was dropped later in https://codereview.chromium.org/444503002/patch/80001/90022). Bug: 793999 Change-Id: I2027b69ff533fcdbc3bd7fedefc21059f032d023 Reviewed-on: https://chromium-review.googlesource.com/822911Reviewed-by:Alex Moshchuk <alexmos@chromium.org> Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Cr-Commit-Position: refs/heads/master@{#523570}
Showing
Please register or sign in to comment