| Index: third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| index beeda156bfe6424a6637f27ddaf186842e1967f7..ea1a144a54d72120305f0e7b1ffd8e101eff8081 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/WindowProxy.cpp
|
| @@ -495,6 +495,8 @@ static v8::Local<v8::Value> getNamedProperty(HTMLDocument* htmlDocument, const A
|
|
|
| static void getter(v8::Local<v8::Name> property, const v8::PropertyCallbackInfo<v8::Value>& info)
|
| {
|
| + if (!property->IsString())
|
| + return;
|
| // FIXME: Consider passing StringImpl directly.
|
| AtomicString name = toCoreAtomicString(property.As<v8::String>());
|
| HTMLDocument* htmlDocument = V8HTMLDocument::toImpl(info.Holder());
|
|
|