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

Issue 2019373002: Fix page transition qualifiers not masked out (Closed)

Created:
4 years, 6 months ago by mastiz
Modified:
4 years, 6 months ago
CC:
cbentzel+watch_chromium.org, chromium-reviews, darin-cc_chromium.org, davidben+watch_chromium.org, David Black, dcheng, dhollowa+watch_chromium.org, Dmitry Titov, donnd+watch_chromium.org, dougw+watch_chromium.org, gavinp+prer_chromium.org, jam, jennb, Jered, jfweitz+watch_chromium.org, jianli, kmadhusu+watch_chromium.org, melevin+watch_chromium.org, samarth+watch_chromium.org, skanuj+watch_chromium.org, tburkard+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix page transition qualifiers not masked out I came across various examples of transition enum values being directly compared against enum literals, without masking bits that represent qualifiers. Committed: https://crrev.com/225012b72cdb52b2dd5a6184583da74c8b500c23 Cr-Commit-Position: refs/heads/master@{#396898}

Patch Set 1 #

Patch Set 2 : Added one more occurrence. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -18 lines) Patch
M chrome/browser/printing/print_preview_dialog_controller.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/tab_contents/navigation_metrics_recorder.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_host.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/ui/pdf/pdf_unsupported_feature.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/search/instant_search_prerenderer.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model.cc View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model_order_controller.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/chrome_web_contents_handler.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M components/translate/content/browser/content_translate_driver.cc View 3 chunks +8 lines, -4 lines 0 comments Download
M content/test/test_render_frame_host.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
mastiz
Please review carefully, I came across this code and assumed the prior logic is unintentional.
4 years, 6 months ago (2016-05-30 15:06:03 UTC) #1
mastiz
Please review carefully, I came across this code and assumed the prior logic is unintentional. ...
4 years, 6 months ago (2016-05-31 07:01:51 UTC) #3
droger
translate LGTM
4 years, 6 months ago (2016-05-31 07:52:38 UTC) #4
Paweł Hajdan Jr.
content/test LGTM
4 years, 6 months ago (2016-05-31 14:14:41 UTC) #5
Lei Zhang
LGTM In a future CL, would you be interested in removing the #if that's preventing ...
4 years, 6 months ago (2016-05-31 18:23:39 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2019373002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2019373002/20001
4 years, 6 months ago (2016-05-31 18:26:01 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-05-31 19:46:01 UTC) #11
commit-bot: I haz the power
4 years, 6 months ago (2016-05-31 20:44:39 UTC) #13
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/225012b72cdb52b2dd5a6184583da74c8b500c23
Cr-Commit-Position: refs/heads/master@{#396898}

Powered by Google App Engine
This is Rietveld 408576698