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

Unified Diff: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp

Issue 2399633003: reflow comments in core/css/resolver (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
diff --git a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
index 82f7efc26a3e85f68a69bb09c6459ae9f669ead6..151ba4acd2115e0030a34d97b088a5c5917f82bc 100644
--- a/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
+++ b/third_party/WebKit/Source/core/css/resolver/CSSVariableResolver.cpp
@@ -95,8 +95,9 @@ PassRefPtr<CSSVariableData> CSSVariableResolver::resolveCustomProperty(
bool success = resolveTokenRange(variableData.tokens(), tokens);
m_variablesSeen.remove(name);
- // The old variable data holds onto the backing string the new resolved CSSVariableData
- // relies on. Ensure it will live beyond us overwriting the RefPtr in StyleInheritedVariables.
+ // The old variable data holds onto the backing string the new resolved
+ // CSSVariableData relies on. Ensure it will live beyond us overwriting the
+ // RefPtr in StyleInheritedVariables.
ASSERT(variableData.refCount() > 1);
if (!success || !m_cycleStartPoints.isEmpty()) {
@@ -212,7 +213,8 @@ const CSSValue* CSSVariableResolver::resolvePendingSubstitutions(
const CSSValue* value = propertyCache.get(id);
if (!value) {
- // TODO(timloh): We shouldn't retry this for all longhands if the shorthand ends up invalid
+ // TODO(timloh): We shouldn't retry this for all longhands if the shorthand
+ // ends up invalid.
CSSVariableReferenceValue* shorthandValue = pendingValue.shorthandValue();
CSSPropertyID shorthandPropertyId = pendingValue.shorthandPropertyId();

Powered by Google App Engine
This is Rietveld 408576698