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

Unified Diff: Source/core/animation/css/CSSTransitionData.h

Issue 1096963002: Make UseCounters work on aliased properties (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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 | « Source/core/animation/css/CSSAnimations.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/css/CSSTransitionData.h
diff --git a/Source/core/animation/css/CSSTransitionData.h b/Source/core/animation/css/CSSTransitionData.h
index 801e2f77aa427e38143737f4631d7ffdc974f53c..fc9d1c9db567f9f16118ac8c1404a61eedeb2210 100644
--- a/Source/core/animation/css/CSSTransitionData.h
+++ b/Source/core/animation/css/CSSTransitionData.h
@@ -24,29 +24,29 @@ public:
struct TransitionProperty {
TransitionProperty(CSSPropertyID id)
: propertyType(TransitionSingleProperty)
- , propertyId(id)
+ , unresolvedProperty(id)
{
ASSERT(id != CSSPropertyInvalid);
}
TransitionProperty(const String& string)
: propertyType(TransitionUnknown)
- , propertyId(CSSPropertyInvalid)
+ , unresolvedProperty(CSSPropertyInvalid)
, propertyString(string)
{
}
TransitionProperty(TransitionPropertyType type)
: propertyType(type)
- , propertyId(CSSPropertyInvalid)
+ , unresolvedProperty(CSSPropertyInvalid)
{
ASSERT(type == TransitionNone || type == TransitionAll);
}
- bool operator==(const TransitionProperty& other) const { return propertyType == other.propertyType && propertyId == other.propertyId && propertyString == other.propertyString; }
+ bool operator==(const TransitionProperty& other) const { return propertyType == other.propertyType && unresolvedProperty == other.unresolvedProperty && propertyString == other.propertyString; }
TransitionPropertyType propertyType;
- CSSPropertyID propertyId;
+ CSSPropertyID unresolvedProperty;
String propertyString;
};
« no previous file with comments | « Source/core/animation/css/CSSAnimations.cpp ('k') | Source/core/css/CSSProperties.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698