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

Issue 166033006: Clear the pending_and_current_web_ui_ if we reuse it. (Closed)

Created:
6 years, 10 months ago by Charlie Reis
Modified:
6 years, 10 months ago
Reviewers:
nasko, Evan Stade
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Clear the pending_and_current_web_ui_ if we reuse it. R=nasko@chromium.org TBR=estade@chromium.org BUG=330811 TEST=See bug comment 9 for repro steps. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=251420

Patch Set 1 #

Patch Set 2 : Add test and fix style. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -2 lines) Patch
M content/browser/frame_host/render_frame_host_manager.cc View 1 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/frame_host/render_frame_host_manager_browsertest.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Charlie Reis
Evan, do you have a minute to review this? It looks like you added pending_and_current_web_ui_ ...
6 years, 10 months ago (2014-02-14 19:18:11 UTC) #1
Charlie Reis
Ok, test added.
6 years, 10 months ago (2014-02-14 19:34:55 UTC) #2
nasko
This is a very complex way to say "if we reuse ...", I agree we ...
6 years, 10 months ago (2014-02-14 19:50:45 UTC) #3
Charlie Reis
Agreed. I'll look into that separately, once we merge this fix to the branch. I'll ...
6 years, 10 months ago (2014-02-14 21:12:34 UTC) #4
Charlie Reis
Committed patchset #2 manually as r251420 (presubmit successful).
6 years, 10 months ago (2014-02-14 21:14:14 UTC) #5
Evan Stade
this patch is OK I guess, it's been a while since I made that change ...
6 years, 10 months ago (2014-02-14 21:29:14 UTC) #6
Charlie Reis
6 years, 10 months ago (2014-02-14 21:32:15 UTC) #7
Message was sent while issue was closed.
On 2014/02/14 21:29:14, Evan Stade wrote:
> this patch is OK I guess, it's been a while since I made that change though. I
> have to say I've confused myself with this code. Why didn't I just create a
bool
> |reuse_current_webui_as_pending_|?

That was what I was thinking about trying next.  Let me know if any issues occur
to you in the meantime, and I'll see if it works out.

Thanks,
Charlie

Powered by Google App Engine
This is Rietveld 408576698