Index: Source/core/html/HTMLLabelElement.cpp |
diff --git a/Source/core/html/HTMLLabelElement.cpp b/Source/core/html/HTMLLabelElement.cpp |
index f02c4a01df47d8240fcd82fc7ca5443376a758a0..f1b9e38d834939b0789a113d9bb12467a9bee4eb 100644 |
--- a/Source/core/html/HTMLLabelElement.cpp |
+++ b/Source/core/html/HTMLLabelElement.cpp |
@@ -78,7 +78,7 @@ LabelableElement* HTMLLabelElement::control() |
return 0; |
} |
- if (Element* element = treeScope().getElementById(controlId)) { |
+ if (Element* element = treeScope()->getElementById(controlId)) { |
if (supportsLabels(element)) |
return toLabelableElement(element); |
} |