Index: Source/bindings/core/v8/custom/V8WindowCustom.cpp |
diff --git a/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
index 843f1dd05333245a94d6896667cca58be47006ca..242bcccca3cad89a1beecc2b90207cd919e11c19 100644 |
--- a/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
+++ b/Source/bindings/core/v8/custom/V8WindowCustom.cpp |
@@ -422,7 +422,7 @@ void V8Window::namedPropertyGetterCustom(v8::Local<v8::String> name, const v8::P |
Document* doc = frame->document(); |
if (doc && doc->isHTMLDocument()) { |
- if (toHTMLDocument(doc)->hasNamedItem(propName) || doc->hasElementWithId(propName.impl())) { |
+ if (toHTMLDocument(doc)->hasNamedItem(propName) || doc->hasElementWithId(propName)) { |
RefPtrWillBeRawPtr<HTMLCollection> items = doc->windowNamedItems(propName); |
if (!items->isEmpty()) { |
if (items->hasExactlyOneItem()) { |