| Index: Source/core/layout/HitTestResult.cpp
|
| diff --git a/Source/core/layout/HitTestResult.cpp b/Source/core/layout/HitTestResult.cpp
|
| index 526b62251bedabe4ade35baa441731b865cd72f8..8703ff8f747d9ccb0b8530112a30da9f63edc563 100644
|
| --- a/Source/core/layout/HitTestResult.cpp
|
| +++ b/Source/core/layout/HitTestResult.cpp
|
| @@ -241,6 +241,8 @@ String HitTestResult::title(TextDirection& dir) const
|
| dir = LTR;
|
| // Find the title in the nearest enclosing DOM node.
|
| // For <area> tags in image maps, walk the tree for the <area>, not the <img> using it.
|
| + if (m_innerNode.get())
|
| + m_innerNode->updateDistribution();
|
| for (Node* titleNode = m_innerNode.get(); titleNode; titleNode = ComposedTreeTraversal::parent(*titleNode)) {
|
| if (titleNode->isElementNode()) {
|
| String title = toElement(titleNode)->title();
|
|
|