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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)

Created:
3 years, 11 months ago by tkent
Modified:
3 years, 11 months ago
Reviewers:
kochi
CC:
ajuma+watch-canvas_chromium.org, darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, Rik, chromium-reviews, dglazkov+blink, dshwang, krit, eae+blinkwatch, eric.carlson_apple.com, Eric Willigers, feature-media-reviews_chromium.org, f(malita), fs, gavinp+prerender_chromium.org, gasubic, gyuyoung2, Justin Novosad, kenneth.christiansen, kouhei+svg_chromium.org, mlamouri+watch-blink_chromium.org, pdr+svgwatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, sof, nessy, Srirama, vcarbune.chromium, Yoav Weiss
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce Element::AttributeModificationParams AttributeModificationParams packs four parameters into one for Element::attributeChanged, Element::parseAttribute, and Element:: logUpdateAttributeIfIsolatedWorldAndInDocument. It reduces stack operations and improves performance of attribute modification. BUG=677446 Review-Url: https://codereview.chromium.org/2623513005 Cr-Commit-Position: refs/heads/master@{#442541} Committed: https://chromium.googlesource.com/chromium/src/+/cdb6d2b9b6f94fb4ed02c0b315ad56c5bc5b5b89

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+499 lines, -640 lines) Patch
M third_party/WebKit/Source/core/dom/Element.h View 3 chunks +16 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 9 chunks +31 lines, -33 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.h View 1 chunk +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAnchorElement.cpp View 2 chunks +15 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAreaElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLAreaElement.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLBaseElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLBaseElement.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLBodyElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLBodyElement.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLButtonElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLButtonElement.cpp View 2 chunks +8 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLCanvasElement.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLContentElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLContentElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLDetailsElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLDetailsElement.cpp View 2 chunks +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLElement.h View 1 chunk +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLElement.cpp View 2 chunks +17 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLEmbedElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLEmbedElement.cpp View 3 chunks +9 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlElement.h View 1 chunk +2 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormControlElement.cpp View 2 chunks +12 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFormElement.cpp View 2 chunks +10 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElement.cpp View 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElementBase.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp View 3 chunks +6 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameSetElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameSetElement.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLIFrameElement.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLImageElement.cpp View 1 chunk +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLInputElement.cpp View 4 chunks +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLIElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLIElement.cpp View 1 chunk +4 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLinkElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLLinkElement.cpp View 2 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMapElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMapElement.cpp View 2 chunks +6 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMediaElement.cpp View 3 chunks +12 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMetaElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMetaElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMeterElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMeterElement.cpp View 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOListElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOListElement.cpp View 1 chunk +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLObjectElement.cpp View 3 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptGroupElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOptionElement.cpp View 2 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOutputElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLOutputElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLProgressElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLProgressElement.cpp View 1 chunk +6 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLScriptElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLScriptElement.cpp View 1 chunk +7 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 2 chunks +9 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.h View 1 chunk +1 line, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSlotElement.cpp View 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSourceElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSourceElement.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLStyleElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLStyleElement.cpp View 1 chunk +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableCellElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableCellElement.cpp View 1 chunk +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableColElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableColElement.cpp View 3 chunks +8 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTableElement.cpp View 2 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTextAreaElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTextAreaElement.cpp View 2 chunks +5 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTrackElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLTrackElement.cpp View 3 chunks +9 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLVideoElement.cpp View 2 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/html/TextControlElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/html/TextControlElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateTransformElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimationElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimationElement.cpp View 4 chunks +20 lines, -13 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.h View 1 chunk +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGElement.cpp View 2 chunks +26 lines, -26 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGSVGElement.cpp View 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGScriptElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGScriptElement.cpp View 1 chunk +8 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGStyleElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGStyleElement.cpp View 1 chunk +5 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGViewElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGViewElement.cpp View 1 chunk +3 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SVGSMILElement.h View 1 chunk +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/svg/animation/SVGSMILElement.cpp View 2 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
tkent
kochi-san, would you review this please? This fixes a performance regression by https://codereview.chromium.org/2586143004, which I ...
3 years, 11 months ago (2017-01-10 07:22:42 UTC) #5
tkent
On 2017/01/10 at 07:22:42, tkent wrote: > This fixes a performance regression by https://codereview.chromium.org/2586143004, which ...
3 years, 11 months ago (2017-01-10 07:23:56 UTC) #6
kochi
lgtm
3 years, 11 months ago (2017-01-10 07:56:20 UTC) #7
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/2623513005/1
3 years, 11 months ago (2017-01-10 08:25:28 UTC) #10
commit-bot: I haz the power
3 years, 11 months ago (2017-01-10 09:45:55 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/cdb6d2b9b6f94fb4ed02c0b315ad...

Powered by Google App Engine
This is Rietveld 408576698