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

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

Issue 267283007: Oilpan: Prepare to move form control ua shadow elements to Oilpan heap. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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/TextFieldInputType.cpp
diff --git a/Source/core/html/forms/TextFieldInputType.cpp b/Source/core/html/forms/TextFieldInputType.cpp
index 2981be7d6541ffc18cdd0d5a8f1f3f006b22649c..5bbc66fa83073a96345c481aebfbae2559450e4e 100644
--- a/Source/core/html/forms/TextFieldInputType.cpp
+++ b/Source/core/html/forms/TextFieldInputType.cpp
@@ -98,9 +98,9 @@ private:
}
public:
- static PassRefPtr<DataListIndicatorElement> create(Document& document)
+ static PassRefPtrWillBeRawPtr<DataListIndicatorElement> create(Document& document)
{
- RefPtr<DataListIndicatorElement> element = adoptRef(new DataListIndicatorElement(document));
+ RefPtrWillBeRawPtr<DataListIndicatorElement> element = adoptRefWillBeRefCountedGarbageCollected(new DataListIndicatorElement(document));
element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral));
element->setAttribute(idAttr, ShadowElementNames::pickerIndicator());
return element.release();

Powered by Google App Engine
This is Rietveld 408576698