Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index 8a1af7182a2367b30b76fcae2acf5cd91312334b..1c427411cb77514abc50541c3ab1579893482af2 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -282,8 +282,6 @@ static bool namedPropertyFromDebuggerScopeExtension(v8::Local<v8::Name> name, co |
void V8Window::namedPropertyGetterCustom(v8::Local<v8::Name> name, const v8::PropertyCallbackInfo<v8::Value>& info) |
{ |
- if (!name->IsString()) |
- return; |
auto nameString = name.As<v8::String>(); |
DOMWindow* window = V8Window::toImpl(info.Holder()); |
if (!window) |