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

Issue 2186663002: Remove virtual destructor from WorkerSettings, and make the constructor explicit. (Closed)

Created:
4 years, 4 months ago by jbroman
Modified:
4 years, 4 months ago
Reviewers:
xlai (Olivia)
CC:
blink-reviews, blink-worker-reviews_chromium.org, chromium-reviews, falken, horo+watch_chromium.org, kinuko+worker_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove virtual destructor from WorkerSettings, and make the constructor explicit. It has no base or derived classes, so its destructor need not be declared virtual. It has a one-argument constructor, which per the style guide should be declared 'explicit' to avoid undesired implicit conversions. Committed: https://crrev.com/63942671b93caa41959910a47bc834c5c68df15c Cr-Commit-Position: refs/heads/master@{#407922}

Patch Set 1 #

Patch Set 2 : explicit constructor #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -2 lines) Patch
M third_party/WebKit/Source/core/workers/WorkerSettings.h View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 17 (11 generated)
jbroman
Noticed this virtual destructor was left behind during the refactor in the previous patch set. ...
4 years, 4 months ago (2016-07-26 18:11:20 UTC) #5
jbroman
(and a one-argument constructor that should be explicit, also trivial)
4 years, 4 months ago (2016-07-26 18:12:39 UTC) #8
xlai (Olivia)
lgtm. Thanks for the cleanup
4 years, 4 months ago (2016-07-26 21:30:30 UTC) #12
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/2186663002/20001
4 years, 4 months ago (2016-07-26 21:32:17 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-07-26 21:36:31 UTC) #15
commit-bot: I haz the power
4 years, 4 months ago (2016-07-26 21:38:34 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/63942671b93caa41959910a47bc834c5c68df15c
Cr-Commit-Position: refs/heads/master@{#407922}

Powered by Google App Engine
This is Rietveld 408576698