Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Issue 235553006: Move Document pointer from Frame to LocalFrame. (Closed)

Created:
6 years, 8 months ago by kenrb
Modified:
6 years, 8 months ago
Reviewers:
dcheng, eseidel
CC:
blink-reviews, dglazkov+blink, dmazzoni, eae+blinkwatch, adamk+blink_chromium.org, aboxhall, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Move Document pointer from Frame to LocalFrame. RemoteFrames do not need Document members, so this belongs in the LocalFrame class and clients who access Document need to ensure that they are handling a LocalFrame. R=dcheng@chromium.org, eseidel@chromium.org BUG=346764 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171584

Patch Set 1 #

Total comments: 14
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -41 lines) Patch
M Source/core/accessibility/AXObjectCache.cpp View 1 chunk +5 lines, -1 line 0 comments Download
M Source/core/frame/Frame.h View 4 chunks +1 line, -5 lines 0 comments Download
M Source/core/frame/Frame.cpp View 3 chunks +0 lines, -15 lines 0 comments Download
M Source/core/frame/LocalFrame.h View 3 chunks +7 lines, -0 lines 0 comments Download
M Source/core/frame/LocalFrame.cpp View 2 chunks +19 lines, -0 lines 2 comments Download
M Source/core/html/HTMLFrameOwnerElement.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/page/EventHandler.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M Source/core/page/FocusController.cpp View 7 chunks +21 lines, -18 lines 12 comments Download

Messages

Total messages: 9 (0 generated)
kenrb
Daniel or Eric, can either of you have a look at this please?
6 years, 8 months ago (2014-04-11 22:58:36 UTC) #1
dcheng
https://codereview.chromium.org/235553006/diff/1/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/235553006/diff/1/Source/core/frame/LocalFrame.cpp#newcode620 Source/core/frame/LocalFrame.cpp:620: doc->topDocument().clearAXObjectCache(); Do you know what accessibility is planning on ...
6 years, 8 months ago (2014-04-14 19:25:57 UTC) #2
kenrb
https://codereview.chromium.org/235553006/diff/1/Source/core/frame/LocalFrame.cpp File Source/core/frame/LocalFrame.cpp (right): https://codereview.chromium.org/235553006/diff/1/Source/core/frame/LocalFrame.cpp#newcode620 Source/core/frame/LocalFrame.cpp:620: doc->topDocument().clearAXObjectCache(); On 2014/04/14 19:25:57, dcheng wrote: > Do you ...
6 years, 8 months ago (2014-04-14 20:09:51 UTC) #3
dcheng
https://codereview.chromium.org/235553006/diff/1/Source/core/page/FocusController.cpp File Source/core/page/FocusController.cpp (right): https://codereview.chromium.org/235553006/diff/1/Source/core/page/FocusController.cpp#newcode787 Source/core/page/FocusController.cpp:787: Element* focusedElement = (focusedFrame() && toLocalFrame(focusedFrame())->document()) ? toLocalFrame(focusedFrame())->document()->focusedElement() : ...
6 years, 8 months ago (2014-04-14 21:09:29 UTC) #4
kenrb
https://codereview.chromium.org/235553006/diff/1/Source/core/page/FocusController.cpp File Source/core/page/FocusController.cpp (right): https://codereview.chromium.org/235553006/diff/1/Source/core/page/FocusController.cpp#newcode787 Source/core/page/FocusController.cpp:787: Element* focusedElement = (focusedFrame() && toLocalFrame(focusedFrame())->document()) ? toLocalFrame(focusedFrame())->document()->focusedElement() : ...
6 years, 8 months ago (2014-04-15 14:20:43 UTC) #5
dcheng
lgtm
6 years, 8 months ago (2014-04-15 16:42:56 UTC) #6
kenrb
The CQ bit was checked by kenrb@chromium.org
6 years, 8 months ago (2014-04-15 17:23:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kenrb@chromium.org/235553006/1
6 years, 8 months ago (2014-04-15 17:24:05 UTC) #8
commit-bot: I haz the power
6 years, 8 months ago (2014-04-15 17:35:46 UTC) #9
Message was sent while issue was closed.
Change committed as 171584

Powered by Google App Engine
This is Rietveld 408576698