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

Unified Diff: Source/core/css/resolver/StyleResolver.cpp

Issue 840463002: Fix assert when interpolating using unset (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove unset handling code in StyleResolver::applyProperties Created 5 years, 11 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/css/resolver/StyleBuilderCustom.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleResolver.cpp
diff --git a/Source/core/css/resolver/StyleResolver.cpp b/Source/core/css/resolver/StyleResolver.cpp
index 074eeb7c96183fe2185425ff32ef00c2ba0f2bda..87a6994b07974861020804f9ca8cf66863907085 100644
--- a/Source/core/css/resolver/StyleResolver.cpp
+++ b/Source/core/css/resolver/StyleResolver.cpp
@@ -1357,14 +1357,6 @@ void StyleResolver::applyProperties(StyleResolverState& state, const StyleProper
if (!isPropertyForPass<pass>(property))
continue;
- if (current.value()->isUnsetValue()) {
- if (CSSPropertyMetadata::isInheritedProperty(property))
- StyleBuilder::applyProperty(property, state, cssValuePool().createInheritedValue().get());
- else
- StyleBuilder::applyProperty(property, state, cssValuePool().createExplicitInitialValue().get());
- continue;
- }
-
StyleBuilder::applyProperty(current.id(), state, current.value());
}
}
« no previous file with comments | « Source/core/css/resolver/StyleBuilderCustom.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698