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

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

Issue 977113003: Rename renderer() to layoutObject(). (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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
« no previous file with comments | « Source/core/html/forms/ImageInputType.cpp ('k') | Source/core/html/forms/RangeInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/NumberInputType.cpp
diff --git a/Source/core/html/forms/NumberInputType.cpp b/Source/core/html/forms/NumberInputType.cpp
index 29abc2ded4a16cb063069581e21ed012b4d75f13..c7e5c3257851fd2e705905abe14e1bdde2ed4005 100644
--- a/Source/core/html/forms/NumberInputType.cpp
+++ b/Source/core/html/forms/NumberInputType.cpp
@@ -265,16 +265,16 @@ void NumberInputType::minOrMaxAttributeChanged()
{
InputType::minOrMaxAttributeChanged();
- if (element().renderer())
- element().renderer()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
+ if (element().layoutObject())
+ element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
}
void NumberInputType::stepAttributeChanged()
{
InputType::stepAttributeChanged();
- if (element().renderer())
- element().renderer()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
+ if (element().layoutObject())
+ element().layoutObject()->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation();
}
bool NumberInputType::supportsSelectionAPI() const
« no previous file with comments | « Source/core/html/forms/ImageInputType.cpp ('k') | Source/core/html/forms/RangeInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698