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

Issue 423393008: Keep a copy of page id in RenderViewHost. (Closed)

Created:
6 years, 4 months ago by Avi (use Gerrit)
Modified:
4 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org, nasko+codewatch_chromium.org, jam, creis+watch_chromium.org, site-isolation-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

Keep a copy of page id in RenderViewHost. Also, ensure that it stays in sync with the renderer's copy. BUG=99379, 369661 TEST=no CHECKs hit in the wild, all tests stay green Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=288196

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : better #

Patch Set 4 : more fixed #

Patch Set 5 : will it blend? #

Total comments: 6

Patch Set 6 : comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -12 lines) Patch
M content/browser/frame_host/navigation_controller_impl_unittest.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 4 chunks +8 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_view_host_impl.cc View 1 2 4 chunks +8 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_view_host_unittest.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/test/test_render_view_host.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M content/test/test_render_view_host.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Avi (use Gerrit)
Tom: This touches TestRenderViewHost and RenderViewHostTest. There was confusion between page id and process id, ...
6 years, 4 months ago (2014-08-07 02:07:07 UTC) #1
Charlie Reis
LGTM! Good catch on the page_id / process_id mixup. Nick, since this started as a ...
6 years, 4 months ago (2014-08-07 17:01:20 UTC) #2
Tom Sepez
https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode529 content/browser/frame_host/render_frame_host_impl.cc:529: CHECK_EQ(render_view_host_->page_id_, page_id); Would prefer not to crash the browser ...
6 years, 4 months ago (2014-08-07 17:07:51 UTC) #3
Charlie Reis
https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode529 content/browser/frame_host/render_frame_host_impl.cc:529: CHECK_EQ(render_view_host_->page_id_, page_id); On 2014/08/07 17:07:51, Tom Sepez wrote: > ...
6 years, 4 months ago (2014-08-07 17:38:01 UTC) #4
ncarter (slow)
lgtm
6 years, 4 months ago (2014-08-07 17:41:35 UTC) #5
Avi (use Gerrit)
https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc File content/browser/frame_host/render_frame_host_impl.cc (right): https://codereview.chromium.org/423393008/diff/80001/content/browser/frame_host/render_frame_host_impl.cc#newcode529 content/browser/frame_host/render_frame_host_impl.cc:529: CHECK_EQ(render_view_host_->page_id_, page_id); On 2014/08/07 17:38:00, Charlie Reis wrote: > ...
6 years, 4 months ago (2014-08-07 18:37:06 UTC) #6
Avi (use Gerrit)
Tom: Do you have a suggestion for avoiding the CHECK?
6 years, 4 months ago (2014-08-07 19:37:33 UTC) #7
Tom Sepez
On 2014/08/07 19:37:33, Avi wrote: > Tom: Do you have a suggestion for avoiding the ...
6 years, 4 months ago (2014-08-07 19:43:12 UTC) #8
Avi (use Gerrit)
On 2014/08/07 19:43:12, Tom Sepez wrote: > On 2014/08/07 19:37:33, Avi wrote: > > Tom: ...
6 years, 4 months ago (2014-08-07 19:57:38 UTC) #9
Avi (use Gerrit)
The CQ bit was checked by avi@chromium.org
6 years, 4 months ago (2014-08-07 19:57:42 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/avi@chromium.org/423393008/100001
6 years, 4 months ago (2014-08-07 20:06:30 UTC) #11
commit-bot: I haz the power
Change committed as 288196
6 years, 4 months ago (2014-08-08 01:26:23 UTC) #12
tonyg
6 years, 4 months ago (2014-08-08 21:42:12 UTC) #13
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/452303003/ by tonyg@chromium.org.

The reason for reverting is: BUG=402135.

Powered by Google App Engine
This is Rietveld 408576698