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

Issue 2907063002: Make CounterDirectiveMap a class and implement a Clone() method. (Closed)

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

Description

Make CounterDirectiveMap a class and implement a Clone() method. CounterDirectiveMap is currently a typedef of a HashMap, which means it can't be extended with the Clone method that is required by StyleRareNonInheritedData when it becomes generated. This patch makes it into a class and adds a Clone method so that it can be copied by a generated StyleRareNonInheritedData. BUG=628043 Review-Url: https://codereview.chromium.org/2907063002 Cr-Commit-Position: refs/heads/master@{#475884} Committed: https://chromium.googlesource.com/chromium/src/+/09c379de358b916213f0591a5214b60e76dfb224

Patch Set 1 #

Total comments: 2

Patch Set 2 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -12 lines) Patch
M third_party/WebKit/Source/core/style/CounterDirectives.h View 1 chunk +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/style/CounterDirectives.cpp View 1 1 chunk +0 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 21 (14 generated)
shend
Hi Naina, PTAL
3 years, 6 months ago (2017-05-28 22:55:25 UTC) #4
nainar
lgtm
3 years, 6 months ago (2017-05-28 23:54:34 UTC) #5
shend
Hi Eddy, PTAL
3 years, 6 months ago (2017-05-30 04:30:05 UTC) #9
meade_UTC10
lgtm with nit https://codereview.chromium.org/2907063002/diff/1/third_party/WebKit/Source/core/style/CounterDirectives.h File third_party/WebKit/Source/core/style/CounterDirectives.h (left): https://codereview.chromium.org/2907063002/diff/1/third_party/WebKit/Source/core/style/CounterDirectives.h#oldcode104 third_party/WebKit/Source/core/style/CounterDirectives.h:104: std::unique_ptr<CounterDirectiveMap> Clone(const CounterDirectiveMap&); Where's the implementation ...
3 years, 6 months ago (2017-05-31 05:26:10 UTC) #10
shend
https://codereview.chromium.org/2907063002/diff/1/third_party/WebKit/Source/core/style/CounterDirectives.h File third_party/WebKit/Source/core/style/CounterDirectives.h (left): https://codereview.chromium.org/2907063002/diff/1/third_party/WebKit/Source/core/style/CounterDirectives.h#oldcode104 third_party/WebKit/Source/core/style/CounterDirectives.h:104: std::unique_ptr<CounterDirectiveMap> Clone(const CounterDirectiveMap&); On 2017/05/31 at 05:26:09, meade_UTC10 wrote: ...
3 years, 6 months ago (2017-05-31 06:31:04 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/2907063002/20001
3 years, 6 months ago (2017-05-31 12:10:07 UTC) #18
commit-bot: I haz the power
3 years, 6 months ago (2017-05-31 12:13:37 UTC) #21
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/09c379de358b916213f0591a5214...

Powered by Google App Engine
This is Rietveld 408576698