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

Issue 2744693002: Use default copy constructor for ComputedStyleBase. (Closed)

Created:
3 years, 9 months ago by shend
Modified:
3 years, 9 months ago
Reviewers:
meade_UTC10, Bugs Nash
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use default copy constructor for ComputedStyleBase. The current copy constructor ComputedStyleBase doesn't do anything special. This patch removes it so we can just let C++ generate the default copy constructor instead. When we have opportunities for faster copy in the future (e.g. using memcpy), we will generate the copy constructor explicitly. BUG=628043 Review-Url: https://codereview.chromium.org/2744693002 Cr-Commit-Position: refs/heads/master@{#457637} Committed: https://chromium.googlesource.com/chromium/src/+/9fa493ef60bc0a4d61858f644b1095cf2a0f6a52

Patch Set 1 #

Patch Set 2 : Rebase #

Total comments: 2

Patch Set 3 : Rebase #

Patch Set 4 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -6 lines) Patch
M third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl View 1 2 3 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 33 (25 generated)
shend
Hi Bugs, PTAL
3 years, 9 months ago (2017-03-09 19:50:13 UTC) #2
Bugs Nash
lgtm
3 years, 9 months ago (2017-03-09 23:46:59 UTC) #9
shend
Hi Eddy, PTAL
3 years, 9 months ago (2017-03-09 23:47:34 UTC) #11
meade_UTC10
lgtm https://codereview.chromium.org/2744693002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (left): https://codereview.chromium.org/2744693002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#oldcode31 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:31: ALWAYS_INLINE ComputedStyleBase(const ComputedStyleBase& o) : Are we sure ...
3 years, 9 months ago (2017-03-10 04:09:11 UTC) #14
shend
https://codereview.chromium.org/2744693002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl File third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl (left): https://codereview.chromium.org/2744693002/diff/20001/third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl#oldcode31 third_party/WebKit/Source/build/scripts/templates/ComputedStyleBase.h.tmpl:31: ALWAYS_INLINE ComputedStyleBase(const ComputedStyleBase& o) : On 2017/03/10 at 04:09:11, ...
3 years, 9 months ago (2017-03-10 05:54:52 UTC) #15
commit-bot: I haz the power
This CL has an open dependency (Issue 2739553003 Patch 20001). Please resolve the dependency and ...
3 years, 9 months ago (2017-03-15 04:20:37 UTC) #19
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/2744693002/60001
3 years, 9 months ago (2017-03-17 00:50:38 UTC) #30
commit-bot: I haz the power
3 years, 9 months ago (2017-03-17 00:56:05 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/9fa493ef60bc0a4d61858f644b10...

Powered by Google App Engine
This is Rietveld 408576698