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

Unified Diff: Source/bindings/v8/CustomElementHelpers.h

Issue 14626005: Upgrade elements that are created before a custom element definition is registered (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Moar^2 better Created 7 years, 8 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
Index: Source/bindings/v8/CustomElementHelpers.h
diff --git a/Source/bindings/v8/CustomElementHelpers.h b/Source/bindings/v8/CustomElementHelpers.h
index 93020af35a991f2367f154ffe67dfc9a2dc0a1ba..33c62d91f12b0ede717ff23f296ef7082f935ce7 100644
--- a/Source/bindings/v8/CustomElementHelpers.h
+++ b/Source/bindings/v8/CustomElementHelpers.h
@@ -37,6 +37,7 @@
#include "core/dom/CustomElementRegistry.h"
#include "core/dom/Element.h"
#include <wtf/Forward.h>
+#include <wtf/HashSet.h>
dglazkov 2013/05/03 16:09:39 Might as well change all these to "wtf/Foo.h"
#include <wtf/PassRefPtr.h>
namespace WebCore {
@@ -60,6 +61,7 @@ public:
static WrapperTypeInfo* findWrapperType(v8::Handle<v8::Value> chain);
static const QualifiedName* findLocalName(v8::Handle<v8::Object> chain);
+ static void upgradeWrappers(ScriptExecutionContext*, const HashSet<Element*>&, const ScriptValue& prototype);
static void invokeReadyCallbacksIfNeeded(ScriptExecutionContext*, const Vector<CustomElementInvocation>&);
typedef v8::Handle<v8::Object> (*CreateSVGWrapperFunction)(SVGElement*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
« no previous file with comments | « LayoutTests/fast/dom/custom/unresolved-pseudoclass-expected.txt ('k') | Source/bindings/v8/CustomElementHelpers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698