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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.h ('k') | Source/core/html/parser/HTMLResourcePreloader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/TextFieldInputType.cpp
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
index fdc959710fd9317061112eaf883699c50fbb1de9..ecce28214ad0be6789e2f96d52259d8bb61676dd 100644
--- a/Source/core/html/forms/TextFieldInputType.cpp
+++ b/Source/core/html/forms/TextFieldInputType.cpp
@@ -64,7 +64,7 @@ private:
inline DataListIndicatorElement(Document& document) : HTMLDivElement(document) { }
inline HTMLInputElement* hostInput() const { return toHTMLInputElement(shadowHost()); }
- virtual RenderObject* createRenderer(const RenderStyle&) override
+ virtual LayoutObject* createRenderer(const RenderStyle&) override
{
return new RenderDetailsMarker(this);
}
@@ -267,7 +267,7 @@ bool TextFieldInputType::shouldSubmitImplicitly(Event* event)
return (event->type() == EventTypeNames::textInput && event->hasInterface(EventNames::TextEvent) && toTextEvent(event)->data() == "\n") || InputType::shouldSubmitImplicitly(event);
}
-RenderObject* TextFieldInputType::createRenderer(const RenderStyle&) const
+LayoutObject* TextFieldInputType::createRenderer(const RenderStyle&) const
{
return new RenderTextControlSingleLine(&element());
}
« no previous file with comments | « Source/core/html/forms/TextFieldInputType.h ('k') | Source/core/html/parser/HTMLResourcePreloader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698