Index: Source/core/rendering/RenderMenuList.cpp |
diff --git a/Source/core/rendering/RenderMenuList.cpp b/Source/core/rendering/RenderMenuList.cpp |
index f0ecf53a2569fe03511afbd7bff61f4d19d19bf8..afb6301082c07ff18845ba39e50b0b9de0fd005e 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); |