[BlinkGenPropertyTrees] Fix site isolation crash
A local root OOPIF has its own lifecycle but doesn't have its own visual viewport layers so we'd crash when trying to process them. Only try to process viewport layers for blink-gen-property-trees when we're in the main frame. TEST=Open chrome with --enable-blink-gen-property-trees and open any site with an out of process iframe. Pass if renderer doesn't crash. Bug: 854221 Change-Id: I423c90e5cbc7aa20be8541e8e7d89158233f774c Reviewed-on: https://chromium-review.googlesource.com/1106668Reviewed-by:Philip Rogers <pdr@chromium.org> Commit-Queue: David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#569042}
Showing
Please register or sign in to comment