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

Issue 2625303002: Fix CSSPropertySetterGetterMethods regression (Closed)

Created:
3 years, 11 months ago by Timothy Loh
Modified:
3 years, 11 months ago
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-bindings_chromium.org, blink-reviews-css, blink-reviews-html_chromium.org, blink-reviews-style_chromium.org, caseq+blink_chromium.org, chromium-reviews, devtools-reviews_chromium.org, dglazkov+blink, kozyatinskiy+blink_chromium.org, lushnikov+blink_chromium.org, pfeldman+blink_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix CSSPropertySetterGetterMethods regression A recent patch crrev.com/2607403002 introduced a 10% regression in setters and getters for CSSOM style objects. This patch fixes this by removing the additional binding to access the registry, instead using already existing members to access it. BUG=679511 Review-Url: https://codereview.chromium.org/2625303002 Cr-Commit-Position: refs/heads/master@{#443188} Committed: https://chromium.googlesource.com/chromium/src/+/2dcda31b3f6d9e8cf588f0c233d9c8c7cb9b4521

Patch Set 1 #

Patch Set 2 : fix #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -40 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.h View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp View 2 chunks +1 line, -3 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleDeclaration.h View 4 chunks +2 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/css/CSSStyleDeclaration.idl View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.h View 1 7 chunks +7 lines, -3 lines 1 comment Download
M third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp View 1 6 chunks +21 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/editing/VisiblePositionTest.cpp View 1 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/RemoveCSSPropertyCommand.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/editing/commands/ReplaceSelectionCommand.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLMarqueeElement.cpp View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/inspector/InspectorCSSAgent.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
Timothy Loh
The description says this fixes the regression but I'm waiting for the perf bots to ...
3 years, 11 months ago (2017-01-12 04:44:41 UTC) #5
alancutter (OOO until 2018)
I wonder if this change is actually more correct than before when there are multiple ...
3 years, 11 months ago (2017-01-12 04:49:05 UTC) #6
Timothy Loh
On 2017/01/12 04:49:05, alancutter wrote: > I wonder if this change is actually more correct ...
3 years, 11 months ago (2017-01-12 05:58:55 UTC) #9
alancutter (OOO until 2018)
lgtm
3 years, 11 months ago (2017-01-12 07:01:23 UTC) #10
haraken
bindings/ LGTM
3 years, 11 months ago (2017-01-12 07:06:05 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/2625303002/20001
3 years, 11 months ago (2017-01-12 08:55:45 UTC) #13
commit-bot: I haz the power
3 years, 11 months ago (2017-01-12 09:01:10 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/2dcda31b3f6d9e8cf588f0c233d9...

Powered by Google App Engine
This is Rietveld 408576698