Index: Source/bindings/v8/V8WindowShell.cpp |
diff --git a/Source/bindings/v8/V8WindowShell.cpp b/Source/bindings/v8/V8WindowShell.cpp |
index c2a3865f3289baa72c374fa92da967ba0a84772f..63e1a5b364c3ac5734a9445efd76413357096b28 100644 |
--- a/Source/bindings/v8/V8WindowShell.cpp |
+++ b/Source/bindings/v8/V8WindowShell.cpp |
@@ -444,11 +444,11 @@ static v8::Handle<v8::Value> getNamedProperty(HTMLDocument* htmlDocument, const |
return v8Undefined(); |
if (items->hasExactlyOneItem()) { |
- Node* node = items->item(0); |
+ Element* element = items->item(0); |
Frame* frame = 0; |
- if (node->hasTagName(HTMLNames::iframeTag) && (frame = toHTMLIFrameElement(node)->contentFrame())) |
+ if (element->hasTagName(HTMLNames::iframeTag) && (frame = toHTMLIFrameElement(element)->contentFrame())) |
return toV8(frame->domWindow(), creationContext, isolate); |
- return toV8(node, creationContext, isolate); |
+ return toV8(element, creationContext, isolate); |
} |
return toV8(items.release(), creationContext, isolate); |
} |