| OLD | NEW | 
|    1 /* |    1 /* | 
|    2  * Copyright (C) 2011 Andreas Kling (kling@webkit.org) |    2  * Copyright (C) 2011 Andreas Kling (kling@webkit.org) | 
|    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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|   62 #include "core/css/CSSUnicodeRangeValue.h" |   62 #include "core/css/CSSUnicodeRangeValue.h" | 
|   63 #include "core/css/CSSUnsetValue.h" |   63 #include "core/css/CSSUnsetValue.h" | 
|   64 #include "core/css/CSSValueList.h" |   64 #include "core/css/CSSValueList.h" | 
|   65 #include "core/css/CSSValuePair.h" |   65 #include "core/css/CSSValuePair.h" | 
|   66 #include "core/css/CSSVariableReferenceValue.h" |   66 #include "core/css/CSSVariableReferenceValue.h" | 
|   67 #include "platform/Length.h" |   67 #include "platform/Length.h" | 
|   68 #include "wtf/SizeAssertions.h" |   68 #include "wtf/SizeAssertions.h" | 
|   69  |   69  | 
|   70 namespace blink { |   70 namespace blink { | 
|   71  |   71  | 
 |   72 using namespace cssvalue; | 
 |   73  | 
|   72 struct SameSizeAsCSSValue |   74 struct SameSizeAsCSSValue | 
|   73     : public GarbageCollectedFinalized<SameSizeAsCSSValue> { |   75     : public GarbageCollectedFinalized<SameSizeAsCSSValue> { | 
|   74   uint32_t bitfields; |   76   uint32_t bitfields; | 
|   75 }; |   77 }; | 
|   76 ASSERT_SIZE(CSSValue, SameSizeAsCSSValue); |   78 ASSERT_SIZE(CSSValue, SameSizeAsCSSValue); | 
|   77  |   79  | 
|   78 CSSValue* CSSValue::create(const Length& value, float zoom) { |   80 CSSValue* CSSValue::create(const Length& value, float zoom) { | 
|   79   switch (value.type()) { |   81   switch (value.type()) { | 
|   80     case Auto: |   82     case Auto: | 
|   81     case MinContent: |   83     case MinContent: | 
| (...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  606       toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); |  608       toCSSCustomPropertyDeclaration(this)->traceAfterDispatch(visitor); | 
|  607       return; |  609       return; | 
|  608     case PendingSubstitutionValueClass: |  610     case PendingSubstitutionValueClass: | 
|  609       toCSSPendingSubstitutionValue(this)->traceAfterDispatch(visitor); |  611       toCSSPendingSubstitutionValue(this)->traceAfterDispatch(visitor); | 
|  610       return; |  612       return; | 
|  611   } |  613   } | 
|  612   NOTREACHED(); |  614   NOTREACHED(); | 
|  613 } |  615 } | 
|  614  |  616  | 
|  615 }  // namespace blink |  617 }  // namespace blink | 
| OLD | NEW |