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

Issue 1807333003: Push ScriptWrappable inheritance down from SVGAnimatedPropertyBase (Closed)

Created:
4 years, 9 months ago by fs
Modified:
4 years, 9 months ago
CC:
fs, darktears, blink-reviews, blink-reviews-animation_chromium.org, chromium-reviews, krit, Eric Willigers, f(malita), gyuyoung2, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Push ScriptWrappable inheritance down from SVGAnimatedPropertyBase Rather than letting the base inherit and then override for actually wrappable subclasses, put the inheritance in the subclasses. This avoids having "dead" ScriptWrappables on subclasses that don't need this functionality. Since this removes the last user of the DEFINE_WRAPPERTYPEINFO_NOT_REACHED macro, remove that too. BUG=596011 Committed: https://crrev.com/adc7b8b7f37f3135c0e5c464680f6e0bb98dfc1c Cr-Commit-Position: refs/heads/master@{#382265}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove DEFINE_WRAPPERTYPEINFO_NOT_REACHED. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -36 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h View 1 1 chunk +0 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedAngle.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedBoolean.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedEnumerationBase.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedInteger.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedLength.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedLengthList.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedNumber.h View 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedNumberList.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedPreserveAspectRatio.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedRect.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedString.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimatedTransformList.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h View 2 chunks +2 lines, -4 lines 0 comments Download

Messages

Total messages: 12 (5 generated)
fs
4 years, 9 months ago (2016-03-18 14:08:36 UTC) #2
haraken
LGTM https://codereview.chromium.org/1807333003/diff/1/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h File third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h (left): https://codereview.chromium.org/1807333003/diff/1/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h#oldcode50 third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h:50: DEFINE_WRAPPERTYPEINFO_NOT_REACHED(); SVGAnimatedPropertyBase was the only customer of the ...
4 years, 9 months ago (2016-03-19 00:09:12 UTC) #3
fs
https://codereview.chromium.org/1807333003/diff/1/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h File third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h (left): https://codereview.chromium.org/1807333003/diff/1/third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h#oldcode50 third_party/WebKit/Source/core/svg/properties/SVGAnimatedProperty.h:50: DEFINE_WRAPPERTYPEINFO_NOT_REACHED(); On 2016/03/19 at 00:09:12, haraken wrote: > SVGAnimatedPropertyBase ...
4 years, 9 months ago (2016-03-21 09:17:48 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1807333003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1807333003/20001
4 years, 9 months ago (2016-03-21 10:03:01 UTC) #8
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 9 months ago (2016-03-21 10:51:26 UTC) #9
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/adc7b8b7f37f3135c0e5c464680f6e0bb98dfc1c Cr-Commit-Position: refs/heads/master@{#382265}
4 years, 9 months ago (2016-03-21 10:52:52 UTC) #11
kouhei (in TOK)
4 years, 9 months ago (2016-03-22 01:38:08 UTC) #12
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698