Chromium Code Reviews| Index: third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp |
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp |
| similarity index 96% |
| rename from third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp |
| rename to third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp |
| index d38ed9e8f029ddfe78f526cb35a73caf8ffaf690..12265b1d36159d3600022b749fdd176154ba6b87 100644 |
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8HTMLElementCustom.cpp |
| +++ b/third_party/WebKit/Source/bindings/core/v8/V8HTMLConstructor.cpp |
| @@ -2,14 +2,13 @@ |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#include "bindings/core/v8/V8HTMLElement.h" |
| - |
| #include "bindings/core/v8/DOMWrapperWorld.h" |
| #include "bindings/core/v8/ExceptionState.h" |
| #include "bindings/core/v8/ScriptCustomElementDefinition.h" |
| #include "bindings/core/v8/V8Binding.h" |
| #include "bindings/core/v8/V8BindingMacros.h" |
| #include "bindings/core/v8/V8DOMWrapper.h" |
| +#include "bindings/core/v8/V8HTMLElement.h" |
| #include "bindings/core/v8/V8ThrowException.h" |
| #include "core/dom/Document.h" |
| #include "core/dom/Element.h" |
| @@ -20,8 +19,7 @@ |
| namespace blink { |
| -void V8HTMLElement::constructorCustom( |
| - const v8::FunctionCallbackInfo<v8::Value>& info) { |
| +void V8HTMLElement::create(const v8::FunctionCallbackInfo<v8::Value>& info) { |
|
haraken
2016/10/03 06:13:04
I'd rename this to ::htmlConstructor or something.
|
| DCHECK(info.IsConstructCall()); |
| v8::Isolate* isolate = info.GetIsolate(); |