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

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

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 5 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/SearchInputType.cpp ('k') | Source/core/html/shadow/DetailsMarkerControl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/TextFieldInputType.cpp
diff --git a/Source/core/html/TextFieldInputType.cpp b/Source/core/html/TextFieldInputType.cpp
index 1cd61d6f22141388671d39ec4c24f4e1f61d1109..e0fb1ec66a057b0c2505f5753b39409f02e3f482 100644
--- a/Source/core/html/TextFieldInputType.cpp
+++ b/Source/core/html/TextFieldInputType.cpp
@@ -211,7 +211,7 @@ bool TextFieldInputType::shouldSubmitImplicitly(Event* event)
RenderObject* TextFieldInputType::createRenderer(RenderStyle*) const
{
- return new (element()->document()->renderArena()) RenderTextControlSingleLine(element());
+ return new RenderTextControlSingleLine(element());
}
bool TextFieldInputType::needsContainer() const
« no previous file with comments | « Source/core/html/SearchInputType.cpp ('k') | Source/core/html/shadow/DetailsMarkerControl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698