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

Issue 2939583002: In-declaration initialization for BrowserView member variables (Closed)

Created:
3 years, 6 months ago by chengx
Modified:
3 years, 6 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews, tfarina
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

In-declaration initialization for BrowserView member variables This CL converts all member variable of the BrowserView class to use the in-declaration initialization where possible. The initialization was done in the BrowserView constructor. BUG=732596 Review-Url: https://codereview.chromium.org/2939583002 Cr-Commit-Position: refs/heads/master@{#478862} Committed: https://chromium.googlesource.com/chromium/src/+/a7ca2fe2926386d3a996a1e84d1a52e79c22996a

Patch Set 1 #

Total comments: 2

Patch Set 2 : More conversion #

Unified diffs Side-by-side diffs Delta from patch set Stats (+16 lines, -30 lines) Patch
M chrome/browser/ui/views/frame/browser_view.h View 1 6 chunks +15 lines, -14 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 1 chunk +1 line, -16 lines 0 comments Download

Messages

Total messages: 17 (12 generated)
chengx
Hi Peter, I've made this CL per request. PTAL, thanks!
3 years, 6 months ago (2017-06-12 23:57:37 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/2939583002/diff/1/chrome/browser/ui/views/frame/browser_view.h File chrome/browser/ui/views/frame/browser_view.h (right): https://codereview.chromium.org/2939583002/diff/1/chrome/browser/ui/views/frame/browser_view.h#newcode714 chrome/browser/ui/views/frame/browser_view.h:714: mutable base::WeakPtrFactory<BrowserView> activate_modal_dialog_factory_; Can probably init this here ...
3 years, 6 months ago (2017-06-13 00:05:56 UTC) #6
chengx
I've addressed the comment in the new patch set. Thanks! https://codereview.chromium.org/2939583002/diff/1/chrome/browser/ui/views/frame/browser_view.h File chrome/browser/ui/views/frame/browser_view.h (right): https://codereview.chromium.org/2939583002/diff/1/chrome/browser/ui/views/frame/browser_view.h#newcode714 ...
3 years, 6 months ago (2017-06-13 01:49:05 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2939583002/20001
3 years, 6 months ago (2017-06-13 01:49:45 UTC) #14
commit-bot: I haz the power
3 years, 6 months ago (2017-06-13 01:57:05 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/a7ca2fe2926386d3a996a1e84d1a...

Powered by Google App Engine
This is Rietveld 408576698