Index: Source/core/css/CSSValuePool.cpp |
diff --git a/Source/core/css/CSSValuePool.cpp b/Source/core/css/CSSValuePool.cpp |
index 140dc727cc957dfcb9ea32f2c2acac3c5fa0e78f..dda959c19075236e06ec3844628e2801a23b884e 100644 |
--- a/Source/core/css/CSSValuePool.cpp |
+++ b/Source/core/css/CSSValuePool.cpp |
@@ -116,9 +116,9 @@ PassRefPtr<CSSPrimitiveValue> CSSValuePool::createValue(double value, CSSPrimiti |
return cache[intValue]; |
} |
-PassRefPtr<CSSPrimitiveValue> CSSValuePool::createValue(const Length& value, const RenderStyle* style) |
+PassRefPtr<CSSPrimitiveValue> CSSValuePool::createValue(const Length& value, const RenderStyle& style) |
{ |
- return CSSPrimitiveValue::create(value, style->effectiveZoom()); |
+ return CSSPrimitiveValue::create(value, style.effectiveZoom()); |
} |
PassRefPtr<CSSPrimitiveValue> CSSValuePool::createFontFamilyValue(const String& familyName) |