Index: Source/core/rendering/HitTestResult.cpp |
diff --git a/Source/core/rendering/HitTestResult.cpp b/Source/core/rendering/HitTestResult.cpp |
index 2f2526f12809c9d27fa2c5a77c197abf30ec15fd..70036a3eef4c57208b618912efcc59b459519f81 100644 |
--- a/Source/core/rendering/HitTestResult.cpp |
+++ b/Source/core/rendering/HitTestResult.cpp |
@@ -248,10 +248,10 @@ String HitTestResult::title(TextDirection& dir) const |
return String(); |
} |
-String HitTestResult::altDisplayString() const |
+const AtomicString& HitTestResult::altDisplayString() const |
{ |
if (!m_innerNonSharedNode) |
- return String(); |
+ return nullAtom; |
if (m_innerNonSharedNode->hasTagName(imgTag)) { |
HTMLImageElement* image = toHTMLImageElement(m_innerNonSharedNode); |
@@ -263,7 +263,7 @@ String HitTestResult::altDisplayString() const |
return input->alt(); |
} |
- return String(); |
+ return nullAtom; |
} |
Image* HitTestResult::image() const |