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

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: Rebase to master 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/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

Powered by Google App Engine
This is Rietveld 408576698