| Index: Source/core/rendering/RenderMenuList.cpp
|
| diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp
|
| index f1adf4af6be8630e2affe7f7a8dc4a68e23b041d..25505726746dcdc69160c7a303288ac5daa5890b 100644
|
| --- a/Source/core/rendering/RenderMenuList.cpp
|
| +++ b/Source/core/rendering/RenderMenuList.cpp
|
| @@ -175,7 +175,7 @@ void RenderMenuList::updateOptionsWidth()
|
| // Add in the option's text indent. We can't calculate percentage values for now.
|
| float optionWidth = 0;
|
| if (RenderStyle* optionStyle = element->renderStyle())
|
| - optionWidth += minimumValueForLength(optionStyle->textIndent(), 0, view());
|
| + optionWidth += minimumValueForLength(optionStyle->textIndent(), 0);
|
| if (!text.isEmpty())
|
| optionWidth += style()->font().width(text);
|
| maxOptionWidth = max(maxOptionWidth, optionWidth);
|
|
|