Index: Source/core/page/Chrome.cpp |
diff --git a/Source/core/page/Chrome.cpp b/Source/core/page/Chrome.cpp |
index 1def1b5e9800cebda9c6155dc57b990716838151..7cbe6340860d6de12f699acbe5b36902ea9adeb2 100644 |
--- a/Source/core/page/Chrome.cpp |
+++ b/Source/core/page/Chrome.cpp |
@@ -398,7 +398,7 @@ void Chrome::setToolTip(const HitTestResult& result) |
if (toolTip.isEmpty()) { |
if (Node* node = result.innerNonSharedNode()) { |
if (node->hasTagName(inputTag)) { |
- HTMLInputElement* input = static_cast<HTMLInputElement*>(node); |
+ Handle<HTMLInputElement> input(static_cast<HTMLInputElement*>(node)); |
toolTip = input->defaultToolTip(); |
// FIXME: We should obtain text direction of tooltip from |