OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
3 * | 3 * |
4 * * Redistributions of source code must retain the above copyright | 4 * * Redistributions of source code must retain the above copyright |
5 * notice, this list of conditions and the following disclaimer. | 5 * notice, this list of conditions and the following disclaimer. |
6 * * Redistributions in binary form must reproduce the above | 6 * * Redistributions in binary form must reproduce the above |
7 * copyright notice, this list of conditions and the following disclaimer | 7 * copyright notice, this list of conditions and the following disclaimer |
8 * in the documentation and/or other materials provided with the | 8 * in the documentation and/or other materials provided with the |
9 * distribution. | 9 * distribution. |
10 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
(...skipping 24 matching lines...) Expand all Loading... |
35 #include "core/css/CSSGridLineNamesValue.h" | 35 #include "core/css/CSSGridLineNamesValue.h" |
36 #include "core/css/CSSPathValue.h" | 36 #include "core/css/CSSPathValue.h" |
37 #include "core/css/CSSPrimitiveValueMappings.h" | 37 #include "core/css/CSSPrimitiveValueMappings.h" |
38 #include "core/css/CSSQuadValue.h" | 38 #include "core/css/CSSQuadValue.h" |
39 #include "core/css/CSSReflectValue.h" | 39 #include "core/css/CSSReflectValue.h" |
40 #include "core/css/CSSShadowValue.h" | 40 #include "core/css/CSSShadowValue.h" |
41 #include "core/css/CSSStringValue.h" | 41 #include "core/css/CSSStringValue.h" |
42 #include "core/css/CSSURIValue.h" | 42 #include "core/css/CSSURIValue.h" |
43 #include "core/css/CSSValuePair.h" | 43 #include "core/css/CSSValuePair.h" |
44 #include "core/css/resolver/FilterOperationResolver.h" | 44 #include "core/css/resolver/FilterOperationResolver.h" |
| 45 #include "core/frame/LocalFrame.h" |
45 #include "core/svg/SVGURIReference.h" | 46 #include "core/svg/SVGURIReference.h" |
46 #include "platform/transforms/RotateTransformOperation.h" | 47 #include "platform/transforms/RotateTransformOperation.h" |
47 #include "platform/transforms/ScaleTransformOperation.h" | 48 #include "platform/transforms/ScaleTransformOperation.h" |
48 #include "platform/transforms/TranslateTransformOperation.h" | 49 #include "platform/transforms/TranslateTransformOperation.h" |
49 #include <algorithm> | 50 #include <algorithm> |
50 | 51 |
51 namespace blink { | 52 namespace blink { |
52 | 53 |
53 namespace { | 54 namespace { |
54 | 55 |
(...skipping 988 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1043 | 1044 |
1044 PassRefPtr<StylePath> StyleBuilderConverter::convertPathOrNone(StyleResolverStat
e& state, const CSSValue& value) | 1045 PassRefPtr<StylePath> StyleBuilderConverter::convertPathOrNone(StyleResolverStat
e& state, const CSSValue& value) |
1045 { | 1046 { |
1046 if (value.isPathValue()) | 1047 if (value.isPathValue()) |
1047 return toCSSPathValue(value).stylePath(); | 1048 return toCSSPathValue(value).stylePath(); |
1048 ASSERT(value.isPrimitiveValue() && toCSSPrimitiveValue(value).getValueID() =
= CSSValueNone); | 1049 ASSERT(value.isPrimitiveValue() && toCSSPrimitiveValue(value).getValueID() =
= CSSValueNone); |
1049 return nullptr; | 1050 return nullptr; |
1050 } | 1051 } |
1051 | 1052 |
1052 } // namespace blink | 1053 } // namespace blink |
OLD | NEW |