| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 { | 38 { |
| 39 return adoptRef(new CSSFunctionValue(name, args)); | 39 return adoptRef(new CSSFunctionValue(name, args)); |
| 40 } | 40 } |
| 41 | 41 |
| 42 String customCSSText() const; | 42 String customCSSText() const; |
| 43 | 43 |
| 44 bool equals(const CSSFunctionValue&) const; | 44 bool equals(const CSSFunctionValue&) const; |
| 45 | 45 |
| 46 CSSValueList* arguments() const { return m_args.get(); } | 46 CSSValueList* arguments() const { return m_args.get(); } |
| 47 | 47 |
| 48 void traceAfterDispatch(Visitor*); | |
| 49 | |
| 50 private: | 48 private: |
| 51 CSSFunctionValue(String, PassRefPtr<CSSValueList>); | 49 CSSFunctionValue(String, PassRefPtr<CSSValueList>); |
| 52 | 50 |
| 53 String m_name; | 51 String m_name; |
| 54 RefPtr<CSSValueList> m_args; | 52 RefPtr<CSSValueList> m_args; |
| 55 }; | 53 }; |
| 56 | 54 |
| 57 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFunctionValue, isFunctionValue()); | 55 DEFINE_CSS_VALUE_TYPE_CASTS(CSSFunctionValue, isFunctionValue()); |
| 58 | 56 |
| 59 } // namespace blink | 57 } // namespace blink |
| 60 | 58 |
| 61 #endif | 59 #endif |
| 62 | 60 |
| OLD | NEW |