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

Issue 137863004: Avoid checks in createElementNS overload (Closed)

Created:
6 years, 10 months ago by rwlbuis
Modified:
6 years, 10 months ago
CC:
blink-reviews, dglazkov+blink, sof, eae+blinkwatch, adamk+blink_chromium.org, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Avoid checks in createElementNS overload Avoid doing the same qName checks another time by calling createElement directly. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=167113

Patch Set 1 #

Total comments: 1

Patch Set 2 : Centralize checks #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -26 lines) Patch
M Source/core/dom/Document.cpp View 1 2 chunks +26 lines, -26 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
rwlbuis
A simple patch that avoids some unneeded checks for the custom element createElementNS overload.
6 years, 10 months ago (2014-02-12 16:10:16 UTC) #1
dominicc (has gone to gerrit)
Thanks for working on improvements like this. https://codereview.chromium.org/137863004/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/137863004/diff/1/Source/core/dom/Document.cpp#newcode773 Source/core/dom/Document.cpp:773: element = ...
6 years, 10 months ago (2014-02-13 04:02:42 UTC) #2
rwlbuis
On 2014/02/13 04:02:42, dominicc wrote: > Thanks for working on improvements like this. > > ...
6 years, 10 months ago (2014-02-13 16:12:00 UTC) #3
gmorrita
LGTM, in behalf of dominicc.
6 years, 10 months ago (2014-02-13 18:46:45 UTC) #4
rwlbuis
The CQ bit was checked by rob.buis@samsung.com
6 years, 10 months ago (2014-02-13 20:17:21 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rob.buis@samsung.com/137863004/80001
6 years, 10 months ago (2014-02-13 20:17:48 UTC) #6
commit-bot: I haz the power
6 years, 10 months ago (2014-02-13 21:08:38 UTC) #7
Message was sent while issue was closed.
Change committed as 167113

Powered by Google App Engine
This is Rietveld 408576698