OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2015 Google Inc. All rights reserved. | 3 * Copyright (C) 2015 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "core/dom/NodeComputedStyle.h" | 34 #include "core/dom/NodeComputedStyle.h" |
35 #include "core/dom/TextLinkColors.h" | 35 #include "core/dom/TextLinkColors.h" |
36 #include "core/layout/LayoutObject.h" | 36 #include "core/layout/LayoutObject.h" |
37 #include "platform/geometry/IntSize.h" | 37 #include "platform/geometry/IntSize.h" |
38 #include "platform/graphics/Gradient.h" | 38 #include "platform/graphics/Gradient.h" |
39 #include "platform/graphics/GradientGeneratedImage.h" | 39 #include "platform/graphics/GradientGeneratedImage.h" |
40 #include "platform/graphics/Image.h" | 40 #include "platform/graphics/Image.h" |
41 #include "platform/graphics/skia/SkiaUtils.h" | 41 #include "platform/graphics/skia/SkiaUtils.h" |
42 #include "wtf/text/StringBuilder.h" | 42 #include "wtf/text/StringBuilder.h" |
43 #include "wtf/text/WTFString.h" | 43 #include "wtf/text/WTFString.h" |
| 44 #include <algorithm> |
44 #include <utility> | 45 #include <utility> |
45 | 46 |
46 namespace blink { | 47 namespace blink { |
47 | 48 |
48 DEFINE_TRACE(CSSGradientColorStop) | 49 DEFINE_TRACE(CSSGradientColorStop) |
49 { | 50 { |
50 visitor->trace(m_position); | 51 visitor->trace(m_position); |
51 visitor->trace(m_color); | 52 visitor->trace(m_color); |
52 } | 53 } |
53 | 54 |
(...skipping 1164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1218 visitor->trace(m_firstRadius); | 1219 visitor->trace(m_firstRadius); |
1219 visitor->trace(m_secondRadius); | 1220 visitor->trace(m_secondRadius); |
1220 visitor->trace(m_shape); | 1221 visitor->trace(m_shape); |
1221 visitor->trace(m_sizingBehavior); | 1222 visitor->trace(m_sizingBehavior); |
1222 visitor->trace(m_endHorizontalSize); | 1223 visitor->trace(m_endHorizontalSize); |
1223 visitor->trace(m_endVerticalSize); | 1224 visitor->trace(m_endVerticalSize); |
1224 CSSGradientValue::traceAfterDispatch(visitor); | 1225 CSSGradientValue::traceAfterDispatch(visitor); |
1225 } | 1226 } |
1226 | 1227 |
1227 } // namespace blink | 1228 } // namespace blink |
OLD | NEW |