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

Issue 273163003: Fix uses of NavigationEntries in RenderViewContextMenu. (Closed)

Created:
6 years, 7 months ago by Charlie Reis
Modified:
6 years, 7 months ago
Reviewers:
jam, nasko
CC:
chromium-reviews, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Fix uses of NavigationEntries in RenderViewContextMenu. Add null checks where needed and ensure that the right type of entry is used for each use case. BUG=370863, 273710 TEST=See bug, comment 3 for repro steps. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269746

Patch Set 1 : Initial patch #

Patch Set 2 : Add test #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -21 lines) Patch
M chrome/browser/renderer_context_menu/render_view_context_menu.cc View 3 chunks +9 lines, -11 lines 7 comments Download
M chrome/browser/renderer_context_menu/render_view_context_menu_browsertest.cc View 1 1 chunk +25 lines, -0 lines 2 comments Download
M content/public/browser/navigation_controller.h View 1 chunk +10 lines, -10 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Charlie Reis
Nasko and John, can you take a look? https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (left): https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#oldcode1285 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1285: // ...
6 years, 7 months ago (2014-05-09 22:48:50 UTC) #1
nasko
I have one question to ensure I understand the test, but overall LGTM. https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File ...
6 years, 7 months ago (2014-05-09 22:56:07 UTC) #2
jam
lgtm https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (left): https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#oldcode1285 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1285: // Instead of using GetURL here, we use ...
6 years, 7 months ago (2014-05-09 23:06:53 UTC) #3
Charlie Reis
https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc File chrome/browser/renderer_context_menu/render_view_context_menu.cc (left): https://codereview.chromium.org/273163003/diff/40001/chrome/browser/renderer_context_menu/render_view_context_menu.cc#oldcode1285 chrome/browser/renderer_context_menu/render_view_context_menu.cc:1285: // Instead of using GetURL here, we use url() ...
6 years, 7 months ago (2014-05-09 23:34:42 UTC) #4
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 7 months ago (2014-05-10 00:02:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/273163003/40001
6 years, 7 months ago (2014-05-10 00:05:31 UTC) #6
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-10 02:06:19 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-10 03:20:14 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_triggered_tests on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg_triggered_tests/builds/152755)
6 years, 7 months ago (2014-05-10 03:20:15 UTC) #9
Charlie Reis
The CQ bit was checked by creis@chromium.org
6 years, 7 months ago (2014-05-12 05:37:32 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/creis@chromium.org/273163003/40001
6 years, 7 months ago (2014-05-12 05:37:45 UTC) #11
commit-bot: I haz the power
6 years, 7 months ago (2014-05-12 06:46:20 UTC) #12
Message was sent while issue was closed.
Change committed as 269746

Powered by Google App Engine
This is Rietveld 408576698