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

Issue 271793002: Implement WebFrame::swap. (Closed)

Created:
6 years, 7 months ago by dcheng
Modified:
6 years, 7 months ago
Reviewers:
eseidel
CC:
blink-reviews, jamesr, dglazkov+blink, abarth-chromium, site-isolation-reviews_chromium.org
Visibility:
Public.

Description

Implement WebFrame::swap. This just updates a bunch of pointers so a WebRemoteFrame can replace a WebLocalFrame node, or vise versa. This does not currently preserve the JS global context, which will be addressed in future patches. BUG=346764 R=eseidel@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173592

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -3 lines) Patch
M Source/web/OpenedFrameTracker.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M Source/web/OpenedFrameTracker.cpp View 2 chunks +13 lines, -3 lines 0 comments Download
M Source/web/WebFrame.cpp View 1 chunk +32 lines, -0 lines 0 comments Download
M public/web/WebFrame.h View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
dcheng
No tests yet, unfortunately. This is something of a chicken-and-egg problem. We're getting closer, but ...
6 years, 7 months ago (2014-05-07 23:03:29 UTC) #1
eseidel
lgtm https://codereview.chromium.org/271793002/diff/1/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/271793002/diff/1/Source/web/WebFrame.cpp#newcode19 Source/web/WebFrame.cpp:19: if (m_parent->m_firstChild == this) I probably would have ...
6 years, 7 months ago (2014-05-08 00:13:01 UTC) #2
dcheng
https://codereview.chromium.org/271793002/diff/1/Source/web/WebFrame.cpp File Source/web/WebFrame.cpp (right): https://codereview.chromium.org/271793002/diff/1/Source/web/WebFrame.cpp#newcode19 Source/web/WebFrame.cpp:19: if (m_parent->m_firstChild == this) On 2014/05/08 00:13:01, eseidel wrote: ...
6 years, 7 months ago (2014-05-08 01:54:18 UTC) #3
dcheng
The CQ bit was checked by dcheng@chromium.org
6 years, 7 months ago (2014-05-08 01:54:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dcheng@chromium.org/271793002/1
6 years, 7 months ago (2014-05-08 01:55:19 UTC) #5
dcheng
The CQ bit was unchecked by dcheng@chromium.org
6 years, 7 months ago (2014-05-08 01:57:52 UTC) #6
eseidel
I do these things i think because I'm terrified of making copy paste bugs. :) ...
6 years, 7 months ago (2014-05-08 02:11:30 UTC) #7
dcheng
6 years, 7 months ago (2014-05-08 03:04:32 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 manually as r173592 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698