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

Issue 206623006: Avoid duplicate hash lookups in CustomElementScheduler::ensureCallbackQueue (Closed)

Created:
6 years, 9 months ago by esprehn
Modified:
6 years, 9 months ago
CC:
blink-reviews, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, rwlbuis
Visibility:
Public.

Description

Avoid duplicate hash lookups in CustomElementScheduler::ensureCallbackQueue We can use add() to avoid doing two hash lookups in the common case where there's no callback queue yet (ex. setting a new attribute) and we can also return a reference. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=169920

Patch Set 1 #

Patch Set 2 : fix #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -21 lines) Patch
M Source/core/dom/custom/CustomElementScheduler.h View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/custom/CustomElementScheduler.cpp View 1 7 chunks +18 lines, -19 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
esprehn
6 years, 9 months ago (2014-03-25 03:21:06 UTC) #1
dominicc (has gone to gerrit)
On 2014/03/25 03:21:06, esprehn wrote: Neat, you are a C++ major leaguer. LGTM
6 years, 9 months ago (2014-03-25 07:25:43 UTC) #2
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 9 months ago (2014-03-25 07:31:18 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/206623006/20001
6 years, 9 months ago (2014-03-25 07:31:21 UTC) #4
commit-bot: I haz the power
6 years, 9 months ago (2014-03-25 08:37:08 UTC) #5
Message was sent while issue was closed.
Change committed as 169920

Powered by Google App Engine
This is Rietveld 408576698