| Index: third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| index 3ee070eb654ace675a568e52ace4e896dbd0139a..48deb2815045bd0497a54b0e96a76426fd84c486 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutMenuList.cpp
|
| @@ -200,7 +200,7 @@ void LayoutMenuList::updateOptionsWidth()
|
|
|
| float LayoutMenuList::computeTextWidth(const String& text) const
|
| {
|
| - return style()->font().width(constructTextRun(style()->font(), text, styleRef()));
|
| + return style()->font().widthForUnbrokenRun(constructTextRun(style()->font(), text, styleRef()));
|
| }
|
|
|
| void LayoutMenuList::updateFromElement()
|
|
|