Composite frames that are cross-origin to their parent
This patch fixes a bug in https://crrev.com/732194 where subframes that were cross-origin to their parent were not composited. This mistake was due to a misreading of Frame::IsCrossOriginSubframe which returns true if the frame is cross origin to the main frame. "IsCrossOriginSubframe" has been renamed to "IsCrossOriginToMainFrame" in https://crrev.com/737198 to prevent similar mistakes. This patch adds Frame::IsCrossOriginToParentFrame and uses it when deciding whether to composite an iframe. Bug: 1047497, 1014273 Change-Id: Iecef138be2b083953559fb856d60939cdfbc8c60 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2034031 Commit-Queue: Philip Rogers <pdr@chromium.org> Reviewed-by:Stefan Zager <szager@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Auto-Submit: Philip Rogers <pdr@chromium.org> Cr-Commit-Position: refs/heads/master@{#739016}
Showing
Please register or sign in to comment