Commit f6eeeac1 authored by ccameron@chromium.org's avatar ccameron@chromium.org

Add NULL check before CanPauseForPendingResizeOrRepaints

BUG=361569
TBR=dgozman

Review URL: https://codereview.chromium.org/232283002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@262916 0039d316-1c4b-4281-b951-d872f2087c98
parent 733670a2
...@@ -2215,6 +2215,7 @@ void RenderWidgetHostViewMac::PauseForPendingResizeOrRepaintsAndDraw() { ...@@ -2215,6 +2215,7 @@ void RenderWidgetHostViewMac::PauseForPendingResizeOrRepaintsAndDraw() {
// overlay and underlay resize at the same time, let them both to have // overlay and underlay resize at the same time, let them both to have
// some time waiting. See crbug.com/352020. // some time waiting. See crbug.com/352020.
if (underlay_view_ && if (underlay_view_ &&
underlay_view_->render_widget_host_ &&
!underlay_view_->render_widget_host_-> !underlay_view_->render_widget_host_->
CanPauseForPendingResizeOrRepaints()) CanPauseForPendingResizeOrRepaints())
return; return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment