Commit 8344ff32 authored by beidson@apple.com's avatar beidson@apple.com

2009-04-29 Brady Eidson <beidson@apple.com>

        Reviewed by Darin Adler.

        * bindings/objc/DOMCSS.mm:
        (kitClass):  Added CSS_INITIAL to the switch statement, and changed to use the WebCore
          type and not the binding type.



git-svn-id: svn://svn.chromium.org/blink/trunk@43005 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent ef5332bb
2009-04-29 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler.
* bindings/objc/DOMCSS.mm:
(kitClass): Added CSS_INITIAL to the switch statement, and changed to use the WebCore
type and not the binding type.
2009-04-29 John Abd-El-Malek <jam@google.com> 2009-04-29 John Abd-El-Malek <jam@google.com>
Reviewed by Dimitri Glazkov. Reviewed by Dimitri Glazkov.
...@@ -9,7 +17,7 @@ ...@@ -9,7 +17,7 @@
2009-04-29 Brady Eidson <beidson@apple.com> 2009-04-29 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler Reviewed by Darin Adler.
<rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail <rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail
...@@ -99,13 +99,14 @@ Class kitClass(WebCore::CSSRule* impl) ...@@ -99,13 +99,14 @@ Class kitClass(WebCore::CSSRule* impl)
Class kitClass(WebCore::CSSValue* impl) Class kitClass(WebCore::CSSValue* impl)
{ {
switch (impl->cssValueType()) { switch (impl->cssValueType()) {
case DOM_CSS_PRIMITIVE_VALUE: case WebCore::CSSValue::CSS_PRIMITIVE_VALUE:
return [DOMCSSPrimitiveValue class]; return [DOMCSSPrimitiveValue class];
case DOM_CSS_VALUE_LIST: case WebCore::CSSValue::CSS_VALUE_LIST:
return [DOMCSSValueList class]; return [DOMCSSValueList class];
case DOM_CSS_INHERIT: case WebCore::CSSValue::CSS_INHERIT:
case WebCore::CSSValue::CSS_INITIAL:
return [DOMCSSValue class]; return [DOMCSSValue class];
case DOM_CSS_CUSTOM: case WebCore::CSSValue::CSS_CUSTOM:
#if ENABLE(SVG_DOM_OBJC_BINDINGS) #if ENABLE(SVG_DOM_OBJC_BINDINGS)
if (impl->isSVGPaint()) if (impl->isSVGPaint())
return [DOMSVGPaint class]; return [DOMSVGPaint class];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment