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