DescriptionRemove several calls to Page::mainFrame
All of these callers either didn't need to use the mainFrame
(as in the case of the MediaQuery functions which called
PlatformScreen functions which already jumped to the top-most
Widget automatically) or could get the information they need
by asking the Frame directly.
There were a couple cases in the inspector where checking
Frame::isMainFrame() wouldn't be identical, so I've left
those as FIXMEs for now.
R=abarth@chromium.org
BUG=305811
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163921
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|