| 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 8e6ad9653ec4a383c7a7722a38ad55af7220cebb..8aa700281244c73fc86a82835c91a1a800a571ac 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSToLengthConversionData.h
|
| @@ -33,7 +33,6 @@
|
|
|
| #include "core/CoreExport.h"
|
| #include "core/css/CSSPrimitiveValue.h"
|
| -#include "platform/geometry/DoubleSize.h"
|
| #include "wtf/Allocator.h"
|
| #include "wtf/Assertions.h"
|
| #include "wtf/MathExtras.h"
|
| @@ -69,14 +68,15 @@
|
| class ViewportSize {
|
| DISALLOW_NEW();
|
| public:
|
| - ViewportSize() { }
|
| - ViewportSize(double width, double height) : m_size(width, height) { }
|
| + ViewportSize() : m_width(0), m_height(0) { }
|
| + ViewportSize(double width, double height) : m_width(width), m_height(height) { }
|
| explicit ViewportSize(const LayoutView*);
|
|
|
| - double width() const { return m_size.width(); }
|
| - double height() const { return m_size.height(); }
|
| + double width() const { return m_width; }
|
| + double height() const { return m_height; }
|
| private:
|
| - DoubleSize m_size;
|
| + double m_width;
|
| + double m_height;
|
| };
|
|
|
| CSSToLengthConversionData() { }
|
|
|