Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Unified Diff: Source/core/html/forms/ImageInputType.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
}
« no previous file with comments | « Source/core/html/canvas/WebGLRenderingContextBase.cpp ('k') | Source/core/html/forms/TextFieldInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698