Index: Source/core/rendering/HitTestResult.cpp |
diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp |
index 96fdf8f42f756621a563d7b7eb751cdb6f7158c8..36bc85f2ed5a9765b071def3aa0e00e9c89b8cf3 100644 |
--- a/Source/core/rendering/HitTestResult.cpp |
+++ b/Source/core/rendering/HitTestResult.cpp |
@@ -232,7 +232,7 @@ String HitTestResult::title(TextDirection& dir) const |
for (Node* titleNode = m_innerNode.get(); titleNode; titleNode = titleNode->parentNode()) { |
if (titleNode->isElementNode()) { |
String title = toElement(titleNode)->title(); |
- if (!title.isEmpty()) { |
+ if (!title.isNull()) { |
if (RenderObject* renderer = titleNode->renderer()) |
dir = renderer->style()->direction(); |
return title; |