Exemple #1
0
 bool isValid(const InterpolationEnvironment&,
              const InterpolationValue& underlying) const final {
   return m_pathSegTypes == getPathSegTypes(underlying);
 }
Exemple #2
0
 static std::unique_ptr<UnderlyingPathSegTypesChecker> create(
     const InterpolationValue& underlying) {
   return WTF::wrapUnique(
       new UnderlyingPathSegTypesChecker(getPathSegTypes(underlying)));
 }
 static PassOwnPtr<UnderlyingPathSegTypesChecker> create(const InterpolationType& type, const UnderlyingValue& underlyingValue)
 {
     return adoptPtr(new UnderlyingPathSegTypesChecker(type, getPathSegTypes(underlyingValue)));
 }