Index: third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
index 26bba4bd95f252fb57b38f492bb37970f8b64751..5c2dcb865baf8ea3c9a4516375d6301fc305d6eb 100644 |
--- a/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp |
@@ -25,14 +25,8 @@ |
#include "core/css/CSSMarkup.h" |
#include "core/css/CSSToLengthConversionData.h" |
#include "core/css/CSSValuePool.h" |
-#include "core/css/StyleSheetContents.h" |
-#include "core/dom/Node.h" |
-#include "core/style/ComputedStyle.h" |
#include "platform/LayoutUnit.h" |
-#include "platform/fonts/FontMetrics.h" |
#include "wtf/StdLibExtras.h" |
-#include "wtf/text/StringBuffer.h" |
-#include "wtf/text/StringBuilder.h" |
using namespace WTF; |
@@ -146,11 +140,6 @@ CSSPrimitiveValue* CSSPrimitiveValue::create(double value, UnitType type) |
} |
} |
-CSSPrimitiveValue* CSSPrimitiveValue::create(const Length& value, const ComputedStyle& style) |
-{ |
- return CSSPrimitiveValue::create(value, style.effectiveZoom()); |
-} |
- |
using CSSTextCache = PersistentHeapHashMap<WeakMember<const CSSPrimitiveValue>, String>; |
static CSSTextCache& cssTextCache() |