Commit 633e689b authored by wangxianzhu's avatar wangxianzhu Committed by Commit bot

Another check for null LayoutView in PaintLayerCompositor::updateIfNeededRecursive()

BUG=580978

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

Cr-Commit-Position: refs/heads/master@{#371461}
parent d892101e
...@@ -205,7 +205,7 @@ void PaintLayerCompositor::updateIfNeededRecursive() ...@@ -205,7 +205,7 @@ void PaintLayerCompositor::updateIfNeededRecursive()
// It's possible for trusted Pepper plugins to force hit testing in situations where // It's possible for trusted Pepper plugins to force hit testing in situations where
// the frame tree is in an inconsistent state, such as in the middle of frame detach. // the frame tree is in an inconsistent state, such as in the middle of frame detach.
// TODO(bbudge) Remove this check when trusted Pepper plugins are gone. // TODO(bbudge) Remove this check when trusted Pepper plugins are gone.
if (localFrame->document()->isActive()) if (localFrame->document()->isActive() && localFrame->contentLayoutObject())
localFrame->contentLayoutObject()->compositor()->updateIfNeededRecursive(); localFrame->contentLayoutObject()->compositor()->updateIfNeededRecursive();
} }
......
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