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

Unified Diff: Source/core/dom/ScriptElement.h

Issue 15871005: Avoid N^2 walk placing renderers when building the render tree (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adding a mitigation for the perf regression to Element::recalcStyle. Created 7 years, 6 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 | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ScriptElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ScriptElement.h
diff --git a/Source/core/dom/ScriptElement.h b/Source/core/dom/ScriptElement.h
index 7f9869e09e95f5648536dff94e7f346243ba58d5..e784dcef17c9e48965352923e50dae3b266e21b5 100644
--- a/Source/core/dom/ScriptElement.h
+++ b/Source/core/dom/ScriptElement.h
@@ -49,6 +49,8 @@ public:
void executeScript(const ScriptSourceCode&);
void execute(CachedScript*);
+ static void prepareScriptCallback(Element*);
+
// XML parser calls these
virtual void dispatchLoadEvent() = 0;
void dispatchErrorEvent();
« no previous file with comments | « Source/core/dom/Element.cpp ('k') | Source/core/dom/ScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698