Index: Source/bindings/v8/custom/V8CSSValueCustom.cpp |
diff --git a/Source/bindings/v8/custom/V8CSSValueCustom.cpp b/Source/bindings/v8/custom/V8CSSValueCustom.cpp |
index dfbff496df03666b599f14e2f5bbaa8c1078a24d..77f7c6fd6b58f8faa0747bc6b134d15b794b774e 100644 |
--- a/Source/bindings/v8/custom/V8CSSValueCustom.cpp |
+++ b/Source/bindings/v8/custom/V8CSSValueCustom.cpp |
@@ -45,12 +45,12 @@ namespace WebCore { |
v8::Handle<v8::Object> wrap(CSSValue* impl, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) |
{ |
ASSERT(impl); |
- if (impl->isCSSTransformValue()) |
- return wrap(static_cast<CSSTransformValue*>(impl), creationContext, isolate); |
- if (impl->isCSSMixFunctionValue()) |
- return wrap(static_cast<CSSMixFunctionValue*>(impl), creationContext, isolate); |
- if (impl->isCSSFilterValue()) |
- return wrap(static_cast<CSSFilterValue*>(impl), creationContext, isolate); |
+ if (impl->isTransformValue()) |
+ return wrap(toCSSTransformValue(impl), creationContext, isolate); |
+ if (impl->isMixFunctionValue()) |
+ return wrap(toCSSMixFunctionValue(impl), creationContext, isolate); |
+ if (impl->isFilterValue()) |
+ return wrap(toCSSFilterValue(impl), creationContext, isolate); |
if (impl->isValueList()) |
return wrap(toCSSValueList(impl), creationContext, isolate); |
if (impl->isPrimitiveValue()) |