OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2012 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2012 Adobe Systems Incorporated. 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 12 matching lines...) Expand all Loading... |
23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | 23 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY |
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR | 24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR |
25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF | 25 * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF |
26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 26 * THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
27 * SUCH DAMAGE. | 27 * SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 #include "config.h" | 30 #include "config.h" |
31 #include "platform/graphics/filters/custom/CustomFilterParameterList.h" | 31 #include "platform/graphics/filters/custom/CustomFilterParameterList.h" |
32 | 32 |
33 #include "platform/graphics/filters/custom/CustomFilterParameter.h" | |
34 #include "wtf/text/StringHash.h" | 33 #include "wtf/text/StringHash.h" |
35 | 34 |
36 namespace WebCore { | 35 namespace WebCore { |
37 | 36 |
38 CustomFilterParameterList::CustomFilterParameterList() | 37 CustomFilterParameterList::CustomFilterParameterList() |
39 { | 38 { |
40 } | 39 } |
41 | 40 |
42 CustomFilterParameterList::CustomFilterParameterList(size_t size) | 41 CustomFilterParameterList::CustomFilterParameterList(size_t size) |
43 : m_parameters(size) | 42 : m_parameters(size) |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 return codePointCompareLessThan(a->name(), b->name()); | 107 return codePointCompareLessThan(a->name(), b->name()); |
109 } | 108 } |
110 | 109 |
111 void CustomFilterParameterList::sortParametersByName() | 110 void CustomFilterParameterList::sortParametersByName() |
112 { | 111 { |
113 std::sort(m_parameters.begin(), m_parameters.end(), sortParametersByNameComp
arator); | 112 std::sort(m_parameters.begin(), m_parameters.end(), sortParametersByNameComp
arator); |
114 } | 113 } |
115 | 114 |
116 } // namespace WebCore | 115 } // namespace WebCore |
117 | 116 |
OLD | NEW |