Index: Source/core/html/forms/ImageInputType.cpp |
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp |
index 6d11528fcca25a4b9c96aa5f8b8410f40f0c8197..20a827ffcb18baf801ab8100fbb8ef42d7a04a98 100644 |
--- a/Source/core/html/forms/ImageInputType.cpp |
+++ b/Source/core/html/forms/ImageInputType.cpp |
@@ -212,7 +212,7 @@ unsigned ImageInputType::height() const |
element->document().updateLayout(); |
- RenderBox* box = element->renderBox(); |
+ LayoutBox* box = element->layoutBox(); |
return box ? adjustForAbsoluteZoom(box->contentHeight(), box) : 0; |
} |
@@ -234,7 +234,7 @@ unsigned ImageInputType::width() const |
element->document().updateLayout(); |
- RenderBox* box = element->renderBox(); |
+ LayoutBox* box = element->layoutBox(); |
return box ? adjustForAbsoluteZoom(box->contentWidth(), box) : 0; |
} |