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

Side by Side Diff: third_party/WebKit/Source/core/animation/PropertyInterpolationTypesMapping.cpp

Issue 2065593002: Unprefix the CSS 'filter' property (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove disabler. Try different DCHECK expressions. Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/animation/PropertyInterpolationTypesMapping.h" 5 #include "core/animation/PropertyInterpolationTypesMapping.h"
6 6
7 #include "core/HTMLNames.h" 7 #include "core/HTMLNames.h"
8 #include "core/animation/CSSBasicShapeInterpolationType.h" 8 #include "core/animation/CSSBasicShapeInterpolationType.h"
9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h" 9 #include "core/animation/CSSBorderImageLengthBoxInterpolationType.h"
10 #include "core/animation/CSSClipInterpolationType.h" 10 #include "core/animation/CSSClipInterpolationType.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 applicableTypes->append(wrapUnique(new CSSImageSliceInterpolationTyp e(cssProperty))); 235 applicableTypes->append(wrapUnique(new CSSImageSliceInterpolationTyp e(cssProperty)));
236 break; 236 break;
237 case CSSPropertyWebkitClipPath: 237 case CSSPropertyWebkitClipPath:
238 case CSSPropertyShapeOutside: 238 case CSSPropertyShapeOutside:
239 applicableTypes->append(wrapUnique(new CSSBasicShapeInterpolationTyp e(cssProperty))); 239 applicableTypes->append(wrapUnique(new CSSBasicShapeInterpolationTyp e(cssProperty)));
240 break; 240 break;
241 case CSSPropertyRotate: 241 case CSSPropertyRotate:
242 applicableTypes->append(wrapUnique(new CSSRotateInterpolationType(cs sProperty))); 242 applicableTypes->append(wrapUnique(new CSSRotateInterpolationType(cs sProperty)));
243 break; 243 break;
244 case CSSPropertyBackdropFilter: 244 case CSSPropertyBackdropFilter:
245 case CSSPropertyWebkitFilter: 245 case CSSPropertyFilter:
246 applicableTypes->append(wrapUnique(new CSSFilterListInterpolationTyp e(cssProperty))); 246 applicableTypes->append(wrapUnique(new CSSFilterListInterpolationTyp e(cssProperty)));
247 break; 247 break;
248 case CSSPropertyTransform: 248 case CSSPropertyTransform:
249 applicableTypes->append(wrapUnique(new CSSTransformInterpolationType (cssProperty))); 249 applicableTypes->append(wrapUnique(new CSSTransformInterpolationType (cssProperty)));
250 break; 250 break;
251 default: 251 default:
252 ASSERT(!CSSPropertyMetadata::isInterpolableProperty(cssProperty)); 252 ASSERT(!CSSPropertyMetadata::isInterpolableProperty(cssProperty));
253 } 253 }
254 254
255 applicableTypes->append(wrapUnique(new CSSValueInterpolationType(cssProp erty))); 255 applicableTypes->append(wrapUnique(new CSSValueInterpolationType(cssProp erty)));
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 } 372 }
373 373
374 applicableTypes->append(wrapUnique(new SVGValueInterpolationType(attribu te))); 374 applicableTypes->append(wrapUnique(new SVGValueInterpolationType(attribu te)));
375 } 375 }
376 376
377 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) ); 377 auto addResult = applicableTypesMap.add(property, std::move(applicableTypes) );
378 return *addResult.storedValue->value.get(); 378 return *addResult.storedValue->value.get();
379 } 379 }
380 380
381 } // namespace blink 381 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698