|
|
Created:
4 years, 2 months ago by alshabalin Modified:
4 years, 1 month ago Reviewers:
raymes CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionInitialize all fields in WebsiteSettings.
show_ssl_decision_revoke_button_ field was never assigned when
constructing WebsiteSettings with about:blank url.
BUG=
Committed: https://crrev.com/5e894c11663cde3d8b9c65691ebf10983fc2a713
Cr-Commit-Position: refs/heads/master@{#427292}
Patch Set 1 #
Total comments: 2
Patch Set 2 : Use member initializer list. #Messages
Total messages: 16 (7 generated)
Description was changed from ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= ========== to ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= ==========
alshabalin@yandex-team.ru changed reviewers: + raymes@chromium.org
Also rewrote using non-static class member initializers (see https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/BrOCGoGXQpY for the most recent discussion) to help with avoiding similar bugs in the future. If you disagree with this approach, I'll move them back to the member initializer list. PTAL
Thanks for this. https://codereview.chromium.org/2440183002/diff/1/chrome/browser/ui/website_s... File chrome/browser/ui/website_settings/website_settings.cc (left): https://codereview.chromium.org/2440183002/diff/1/chrome/browser/ui/website_s... chrome/browser/ui/website_settings/website_settings.cc:270: did_revoke_user_ssl_decisions_(false), I realize there is no clear rules in the style guide, but I think for consistency with other code we should keep these things in the initializer list for now.
The CQ bit was checked by alshabalin@yandex-team.ru
https://codereview.chromium.org/2440183002/diff/1/chrome/browser/ui/website_s... File chrome/browser/ui/website_settings/website_settings.cc (left): https://codereview.chromium.org/2440183002/diff/1/chrome/browser/ui/website_s... chrome/browser/ui/website_settings/website_settings.cc:270: did_revoke_user_ssl_decisions_(false), On 2016/10/24 01:46:27, raymes wrote: > I realize there is no clear rules in the style guide, but I think for > consistency with other code we should keep these things in the initializer list > for now. Done.
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full committers or once the patch has received an L-G-T-M from a full committer. Even if an L-G-T-M may have been provided, it was from a non-committer, _not_ a full super star committer. See http://www.chromium.org/getting-involved/become-a-committer Note that this has nothing to do with OWNERS files.
lgtm thanks
The CQ bit was checked by alshabalin@yandex-team.ru
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= ========== to ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= ==========
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= ========== to ========== Initialize all fields in WebsiteSettings. show_ssl_decision_revoke_button_ field was never assigned when constructing WebsiteSettings with about:blank url. BUG= Committed: https://crrev.com/5e894c11663cde3d8b9c65691ebf10983fc2a713 Cr-Commit-Position: refs/heads/master@{#427292} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/5e894c11663cde3d8b9c65691ebf10983fc2a713 Cr-Commit-Position: refs/heads/master@{#427292} |