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

Unified Diff: third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp

Issue 2622403006: Compute initial values for registered custom properties. (Closed)
Patch Set: initialise CSSToLengthConversionData nicer Created 3 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
Index: third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
index e1f3d7f441db8e6986aa7b2873fd1f8e8ace53a1..5b73defda1de5d815c8770d73f1eb73bccfb7518 100644
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp
@@ -85,7 +85,6 @@ CSSToLengthConversionData::CSSToLengthConversionData(
m_fontSizes(fontSizes),
m_viewportSize(viewportSize),
m_zoom(clampTo<float>(zoom, std::numeric_limits<float>::denorm_min())) {
- ASSERT(m_style);
}
CSSToLengthConversionData::CSSToLengthConversionData(

Powered by Google App Engine
This is Rietveld 408576698