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

Unified Diff: Source/core/dom/custom/CustomElementScheduler.h

Issue 206623006: Avoid duplicate hash lookups in CustomElementScheduler::ensureCallbackQueue (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElementScheduler.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/custom/CustomElementScheduler.h
diff --git a/Source/core/dom/custom/CustomElementScheduler.h b/Source/core/dom/custom/CustomElementScheduler.h
index 3bebdf39bba1bbcd164576202e5fd40b0fb752bb..ee8c870c2309496883c01dd6b9d5677da2a2e2dc 100644
--- a/Source/core/dom/custom/CustomElementScheduler.h
+++ b/Source/core/dom/custom/CustomElementScheduler.h
@@ -63,8 +63,8 @@ private:
static CustomElementScheduler& instance();
- CustomElementCallbackQueue* ensureCallbackQueue(PassRefPtr<Element>);
- CustomElementCallbackQueue* schedule(PassRefPtr<Element>);
+ CustomElementCallbackQueue& ensureCallbackQueue(PassRefPtr<Element>);
+ CustomElementCallbackQueue& schedule(PassRefPtr<Element>);
// FIXME: Consider moving the element's callback queue to
// ElementRareData. Then the scheduler can become completely
« no previous file with comments | « no previous file | Source/core/dom/custom/CustomElementScheduler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698