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

Unified Diff: Source/core/css/CSSGradientValue.cpp

Issue 654933004: Remove now-unnecessary VectorTraits specializations. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Updated to just use improved VectorTraits.h Created 6 years, 2 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 | « no previous file | Source/core/css/RuleFeature.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSGradientValue.cpp
diff --git a/Source/core/css/CSSGradientValue.cpp b/Source/core/css/CSSGradientValue.cpp
index 7830aeae52f7f0f0a41d2781cb1704b6bd4c4654..2ca2957e1e3cf34664e41ce0242258c2977c5785 100644
--- a/Source/core/css/CSSGradientValue.cpp
+++ b/Source/core/css/CSSGradientValue.cpp
@@ -114,22 +114,6 @@ public:
{ }
};
-} // namespace blink
-
-// Escape out and declare VectorTraits for GradientStop before it is used
-// in a HeapVector with an inline capacity.
-namespace WTF {
-
-template<>
-struct VectorTraits<blink::GradientStop> : SimpleClassVectorTraits<blink::GradientStop> {
- // IsPod<> doesn't handle embedded structs/enums (e.g., Color.)
- static const bool needsDestruction = false;
-};
-
-} // namespace WTF
-
-namespace blink {
-
PassRefPtrWillBeRawPtr<CSSGradientValue> CSSGradientValue::gradientWithStylesResolved(const TextLinkColors& textLinkColors, Color currentColor)
{
bool derived = false;
« no previous file with comments | « no previous file | Source/core/css/RuleFeature.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698