OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 public: | 44 public: |
45 static PassRefPtrWillBeRawPtr<FilterEffectBuilder> create() | 45 static PassRefPtrWillBeRawPtr<FilterEffectBuilder> create() |
46 { | 46 { |
47 return adoptRefWillBeNoop(new FilterEffectBuilder()); | 47 return adoptRefWillBeNoop(new FilterEffectBuilder()); |
48 } | 48 } |
49 | 49 |
50 virtual ~FilterEffectBuilder(); | 50 virtual ~FilterEffectBuilder(); |
51 DECLARE_TRACE(); | 51 DECLARE_TRACE(); |
52 | 52 |
53 bool build(LayoutObject* renderer, const FilterOperations&); | 53 bool build(LayoutObject* renderer, const FilterOperations&); |
54 void clearIntermediateResults(); | |
55 | 54 |
56 PassRefPtrWillBeRawPtr<FilterEffect> lastEffect() const | 55 PassRefPtrWillBeRawPtr<FilterEffect> lastEffect() const |
57 { | 56 { |
58 return m_lastEffect; | 57 return m_lastEffect; |
59 } | 58 } |
60 | 59 |
61 private: | 60 private: |
62 FilterEffectBuilder(); | 61 FilterEffectBuilder(); |
63 | 62 |
64 RefPtrWillBeMember<FilterEffect> m_lastEffect; | 63 RefPtrWillBeMember<FilterEffect> m_lastEffect; |
65 WillBeHeapVector<RefPtrWillBeMember<ReferenceFilter>> m_referenceFilters; | 64 WillBeHeapVector<RefPtrWillBeMember<ReferenceFilter>> m_referenceFilters; |
66 }; | 65 }; |
67 | 66 |
68 } // namespace blink | 67 } // namespace blink |
69 | 68 |
70 #endif // FilterEffectBuilder_h | 69 #endif // FilterEffectBuilder_h |
OLD | NEW |