Index: third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
diff --git a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
index d553a47001d999ea99a702183d5c2a21ac00ef87..0dfffdcab5d3efeb99e492ac575cd569a492c990 100644 |
--- a/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
+++ b/third_party/WebKit/Source/core/css/CSSComputedStyleDeclaration.cpp |
@@ -35,6 +35,7 @@ |
#include "core/css/CSSVariableData.h" |
#include "core/css/ComputedStyleCSSValueMapping.h" |
#include "core/css/parser/CSSParser.h" |
+#include "core/css/zoomAdjustedPixelValue.h" |
#include "core/dom/Document.h" |
#include "core/dom/ExceptionCode.h" |
#include "core/dom/PseudoElement.h" |
@@ -183,12 +184,6 @@ CSSValueID cssIdentifierForFontSizeKeyword(int keywordSize) { |
return static_cast<CSSValueID>(CSSValueXxSmall + keywordSize - 1); |
} |
-inline CSSPrimitiveValue* zoomAdjustedPixelValue(double value, |
- const ComputedStyle& style) { |
- return CSSPrimitiveValue::create(adjustFloatForAbsoluteZoom(value, style), |
- CSSPrimitiveValue::UnitType::Pixels); |
-} |
- |
void logUnimplementedPropertyID(CSSPropertyID propertyID) { |
DEFINE_STATIC_LOCAL(HashSet<CSSPropertyID>, propertyIDSet, ()); |
if (!propertyIDSet.insert(propertyID).isNewEntry) |