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 a137fa6c335c363f09a980beed35e378bf4d95d4..a3c732e76462eca123abe0a46af7f6eb91b38f68 100644 |
--- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.cpp |
@@ -68,7 +68,8 @@ |
} |
CSSToLengthConversionData::ViewportSize::ViewportSize(const LayoutView* layoutView) |
- : m_size(layoutView ? layoutView->viewportSizeForViewportUnits() : DoubleSize()) |
+ : m_width(layoutView ? layoutView->layoutViewportWidth() : 0) |
+ , m_height(layoutView ? layoutView->layoutViewportHeight() : 0) |
{ |
} |