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

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

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) 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 unified diff | Download patch
OLDNEW
1 #include "core/animation/VisibilityStyleInterpolation.h" 1 #include "core/animation/VisibilityStyleInterpolation.h"
2 2
3 #include "core/css/CSSPrimitiveValue.h" 3 #include "core/css/CSSPrimitiveValue.h"
4 #include "core/css/resolver/StyleBuilder.h" 4 #include "core/css/resolver/StyleBuilder.h"
5 5
6 namespace blink { 6 namespace blink {
7 7
8 bool VisibilityStyleInterpolation::canCreateFrom(const CSSValue& value) 8 bool VisibilityStyleInterpolation::canCreateFrom(const CSSValue& value)
9 { 9 {
10 return value.isPrimitiveValue() && toCSSPrimitiveValue(value).isValueID(); 10 return value.isPrimitiveValue() && toCSSPrimitiveValue(value).isValueID();
(...skipping 25 matching lines...) Expand all
36 if (number->value() > 0) 36 if (number->value() > 0)
37 return CSSPrimitiveValue::createIdentifier(CSSValueVisible); 37 return CSSPrimitiveValue::createIdentifier(CSSValueVisible);
38 return CSSPrimitiveValue::createIdentifier(notVisible); 38 return CSSPrimitiveValue::createIdentifier(notVisible);
39 } 39 }
40 40
41 void VisibilityStyleInterpolation::apply(StyleResolverState& state) const 41 void VisibilityStyleInterpolation::apply(StyleResolverState& state) const
42 { 42 {
43 StyleBuilder::applyProperty(m_id, state, interpolableValueToVisibility(m_cac hedValue.get(), m_notVisible).get()); 43 StyleBuilder::applyProperty(m_id, state, interpolableValueToVisibility(m_cac hedValue.get(), m_notVisible).get());
44 } 44 }
45 45
46 } 46 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698