Index: Source/web/PluginPlaceholderImplTest.cpp |
diff --git a/Source/web/PluginPlaceholderImplTest.cpp b/Source/web/PluginPlaceholderImplTest.cpp |
index 1b7028b804225803d6906b1bd184be8c2b8cf072..fdb0c75328f9ca02eec0703d36034d14d98bb1ba 100644 |
--- a/Source/web/PluginPlaceholderImplTest.cpp |
+++ b/Source/web/PluginPlaceholderImplTest.cpp |
@@ -100,7 +100,7 @@ bool isHiddenWithInlineStyle(Element* element) |
if (!element->inlineStyle()) |
return false; |
NullableCSSValue value = element->inlineStyle()->getPropertyCSSValue(CSSPropertyDisplay); |
- return value && value->isPrimitiveValue() && toCSSPrimitiveValue(value)->getValueID() == CSSValueNone; |
+ return value && value->isPrimitiveValue() && toCSSPrimitiveValue(*value).getValueID() == CSSValueNone; |
} |
TEST_F(PluginPlaceholderImplTest, Closeable) |