| Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
| diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
| index d27dd0d8d5c4933b4f3f7854a26acaf01db6726e..7bf785bbd689f718e58784961770994bdfee7007 100644
|
| --- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
| +++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.h
|
| @@ -29,7 +29,6 @@
|
| #include "wtf/BitVector.h"
|
| #include "wtf/Forward.h"
|
| #include "wtf/MathExtras.h"
|
| -#include "wtf/PassRefPtr.h"
|
| #include "wtf/TypeTraits.h"
|
| #include "wtf/text/StringHash.h"
|
| #include "wtf/text/StringView.h"
|
| @@ -39,7 +38,6 @@ namespace blink {
|
| class CSSCalcValue;
|
| class CSSToLengthConversionData;
|
| class Length;
|
| -class ComputedStyle;
|
|
|
| // Dimension calculations are imprecise, often resulting in values of e.g.
|
| // 44.99998. We need to go ahead and round if we're really close to the next
|
| @@ -209,9 +207,6 @@ public:
|
|
|
| static CSSPrimitiveValue* createIdentifier(CSSValueID);
|
| static CSSPrimitiveValue* create(double value, UnitType);
|
| - // TODO(sashab): Remove this create() method, CSSPrimitiveValue should not
|
| - // reference ComputedStyle.
|
| - static CSSPrimitiveValue* create(const Length& value, const ComputedStyle&);
|
| static CSSPrimitiveValue* create(const Length& value, float zoom)
|
| {
|
| return new CSSPrimitiveValue(value, zoom);
|
|
|