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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: third_party/WebKit/Source/core/html/forms/NumberInputType.cpp
diff --git a/third_party/WebKit/Source/core/html/forms/NumberInputType.cpp b/third_party/WebKit/Source/core/html/forms/NumberInputType.cpp
index c3e849ae2fd718fc49e3e540a8d61b77fd9c872c..ebb6762d6e7ccb9d168aedde1d09686ec6cc4bd5 100644
--- a/third_party/WebKit/Source/core/html/forms/NumberInputType.cpp
+++ b/third_party/WebKit/Source/core/html/forms/NumberInputType.cpp
@@ -96,9 +96,9 @@ static RealNumberRenderSize calculateRenderSize(const Decimal& value)
return RealNumberRenderSize(sizeOfSign + sizeOfZero , numberOfZeroAfterDecimalPoint + sizeOfDigits);
}
-PassRefPtrWillBeRawPtr<InputType> NumberInputType::create(HTMLInputElement& element)
+RawPtr<InputType> NumberInputType::create(HTMLInputElement& element)
{
- return adoptRefWillBeNoop(new NumberInputType(element));
+ return (new NumberInputType(element));
}
void NumberInputType::countUsage()

Powered by Google App Engine
This is Rietveld 408576698