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

Issue 2375583002: clean up replace contents()->GetMainFrame() to main_test_rfh() (Closed)

Created:
4 years, 2 months ago by dhna
Modified:
4 years, 2 months ago
CC:
chromium-reviews, nasko+codewatch_chromium.org, darin-cc_chromium.org, creis+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

clean up replace contents()->GetMainFrame() to main_test_rfh() CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Committed: https://crrev.com/721f96a79d8dbb6ab8ab3d4ae45f2219da100412 Cr-Commit-Position: refs/heads/master@{#421303}

Patch Set 1 #

Patch Set 2 : reindent #

Patch Set 3 : clean up replace contents()->GetMainFrame() to main_test_rfh() #

Patch Set 4 : clean up replace contents()->GetMainFrame() to main_test_rfh() #

Patch Set 5 : clean up replace contents()->GetMainFrame() to main_test_rfh() #

Patch Set 6 : clean up replace contents()->GetMainFrame() to main_test_rfh() #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M content/browser/web_contents/web_contents_impl_unittest.cc View 2 chunks +2 lines, -2 lines 1 comment Download

Messages

Total messages: 34 (23 generated)
dhna
4 years, 2 months ago (2016-09-27 04:40:09 UTC) #5
dhna
PTAL
4 years, 2 months ago (2016-09-27 04:40:41 UTC) #6
dhna
@ncarter PTAL
4 years, 2 months ago (2016-09-27 18:13:52 UTC) #23
ncarter (slow)
lgtm
4 years, 2 months ago (2016-09-27 19:41:16 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2375583002/100001
4 years, 2 months ago (2016-09-27 19:41:54 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-27 19:48:12 UTC) #28
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/721f96a79d8dbb6ab8ab3d4ae45f2219da100412 Cr-Commit-Position: refs/heads/master@{#421303}
4 years, 2 months ago (2016-09-27 19:52:09 UTC) #30
jam
This broke the PlzNavigate tests: https://build.chromium.org/p/chromium.fyi/builders/Browser%20Side%20Navigation%20Linux/builds/21808 Revert in meantime?
4 years, 2 months ago (2016-09-27 20:46:08 UTC) #31
ncarter (slow)
On 2016/09/27 20:46:08, jam wrote: > This broke the PlzNavigate tests: > https://build.chromium.org/p/chromium.fyi/builders/Browser%20Side%20Navigation%20Linux/builds/21808 > > ...
4 years, 2 months ago (2016-09-27 20:46:53 UTC) #32
ncarter (slow)
https://codereview.chromium.org/2375583002/diff/100001/content/browser/web_contents/web_contents_impl_unittest.cc File content/browser/web_contents/web_contents_impl_unittest.cc (right): https://codereview.chromium.org/2375583002/diff/100001/content/browser/web_contents/web_contents_impl_unittest.cc#newcode2937 content/browser/web_contents/web_contents_impl_unittest.cc:2937: main_test_rfh()->PrepareForCommit(); Oh yeah, this isn't safe at all.
4 years, 2 months ago (2016-09-27 20:47:56 UTC) #33
ncarter (slow)
4 years, 2 months ago (2016-09-27 22:23:45 UTC) #34
Message was sent while issue was closed.
A revert of this CL (patchset #6 id:100001) has been created in
https://codereview.chromium.org/2366333004/ by nick@chromium.org.

The reason for reverting is: This patch is incorrect. |contents| and
|contents()| are different objects..

Powered by Google App Engine
This is Rietveld 408576698