| Index: Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| diff --git a/Source/bindings/v8/CustomElementConstructorBuilder.cpp b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| index 386a4c866ac2f9222fe77c18581e8f29f12100ee..9fb12d607832e1b40f23ae53ca645ffd4925428d 100644
|
| --- a/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| +++ b/Source/bindings/v8/CustomElementConstructorBuilder.cpp
|
| @@ -218,7 +218,7 @@ bool CustomElementConstructorBuilder::prototypeIsValid() const
|
| return true;
|
| }
|
|
|
| -bool CustomElementConstructorBuilder::didRegisterDefinition(CustomElementDefinition* definition, const HashSet<Element*>& upgradeCandidates) const
|
| +bool CustomElementConstructorBuilder::didRegisterDefinition(CustomElementDefinition* definition) const
|
| {
|
| ASSERT(!m_constructor.IsEmpty());
|
|
|
| @@ -230,17 +230,6 @@ bool CustomElementConstructorBuilder::didRegisterDefinition(CustomElementDefinit
|
| v8::Persistent<v8::Object> persistentPrototype(m_context->GetIsolate(), m_prototype);
|
| perContextData->customElementPrototypes()->add(definition->type(), UnsafePersistent<v8::Object>(persistentPrototype));
|
|
|
| - // Upgrade any wrappers alcreated created for this definition
|
| - for (HashSet<Element*>::const_iterator it = upgradeCandidates.begin(); it != upgradeCandidates.end(); ++it) {
|
| - v8::Handle<v8::Object> wrapper = DOMDataStore::getWrapperForMainWorld(*it);
|
| - if (wrapper.IsEmpty()) {
|
| - // The wrapper will be created with the right prototype when
|
| - // retrieved; we don't need to eagerly create the wrapper.
|
| - continue;
|
| - }
|
| - wrapper->SetPrototype(m_prototype);
|
| - }
|
| -
|
| return true;
|
| }
|
|
|
|
|