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

Unified Diff: third_party/WebKit/Source/core/css/CSSGradientValue.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/css/CSSGradientValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSGradientValue.cpp b/third_party/WebKit/Source/core/css/CSSGradientValue.cpp
index 0a76377836fe4ace2f8c270281870a49f2a9ceda..6503cbc6b40383df5ad8af5747d60cd54c7f8eb9 100644
--- a/third_party/WebKit/Source/core/css/CSSGradientValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSGradientValue.cpp
@@ -104,7 +104,7 @@ struct GradientStop {
{ }
};
-static void replaceColorHintsWithColorStops(Vector<GradientStop>& stops, const WillBeHeapVector<CSSGradientColorStop, 2>& cssGradientStops)
+static void replaceColorHintsWithColorStops(Vector<GradientStop>& stops, const HeapVector<CSSGradientColorStop, 2>& cssGradientStops)
{
// This algorithm will replace each color interpolation hint with 9 regular
// color stops. The color values for the new color stops will be calculated
@@ -572,7 +572,7 @@ bool CSSGradientValue::knownToBeOpaque(const LayoutObject* object) const
return true;
}
-void CSSGradientValue::getStopColors(WillBeHeapVector<Color>& stopColors, const LayoutObject* object) const
+void CSSGradientValue::getStopColors(HeapVector<Color>& stopColors, const LayoutObject* object) const
{
ASSERT(object);
for (auto& stop : m_stops) {

Powered by Google App Engine
This is Rietveld 408576698