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

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

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.h
diff --git a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
index d77764eb94d668de9a98ffdff3c03ccf388ed30f..efdb1c7b9aea3672ec170c973b352c8104f3dcd5 100644
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
@@ -83,7 +83,7 @@ class CORE_EXPORT CSSToLengthConversionData {
DoubleSize m_size;
};
- CSSToLengthConversionData() {}
+ CSSToLengthConversionData() : m_style(nullptr), m_zoom(1) {}
CSSToLengthConversionData(const ComputedStyle*,
const FontSizes&,
const ViewportSize&,

Powered by Google App Engine
This is Rietveld 408576698