| 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 18 matching lines...) Expand all Loading... |
| 29 #include "platform/graphics/filters/FilterEffect.h" | 29 #include "platform/graphics/filters/FilterEffect.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "wtf/PassRefPtr.h" | 31 #include "wtf/PassRefPtr.h" |
| 32 #include "wtf/RefCounted.h" | 32 #include "wtf/RefCounted.h" |
| 33 #include "wtf/RefPtr.h" | 33 #include "wtf/RefPtr.h" |
| 34 #include "wtf/Vector.h" | 34 #include "wtf/Vector.h" |
| 35 | 35 |
| 36 namespace blink { | 36 namespace blink { |
| 37 | 37 |
| 38 class FilterOperations; | 38 class FilterOperations; |
| 39 class FloatRect; | |
| 40 class GraphicsContext; | |
| 41 class ReferenceFilter; | 39 class ReferenceFilter; |
| 42 class RenderObject; | 40 class RenderObject; |
| 43 | 41 |
| 44 class FilterEffectRenderer final : public RefCountedWillBeGarbageCollectedFinali
zed<FilterEffectRenderer> { | 42 class FilterEffectRenderer final : public RefCountedWillBeGarbageCollectedFinali
zed<FilterEffectRenderer> { |
| 45 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; | 43 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED; |
| 46 public: | 44 public: |
| 47 static PassRefPtrWillBeRawPtr<FilterEffectRenderer> create() | 45 static PassRefPtrWillBeRawPtr<FilterEffectRenderer> create() |
| 48 { | 46 { |
| 49 return adoptRefWillBeNoop(new FilterEffectRenderer()); | 47 return adoptRefWillBeNoop(new FilterEffectRenderer()); |
| 50 } | 48 } |
| (...skipping 12 matching lines...) Expand all Loading... |
| 63 private: | 61 private: |
| 64 FilterEffectRenderer(); | 62 FilterEffectRenderer(); |
| 65 | 63 |
| 66 RefPtrWillBeMember<FilterEffect> m_lastEffect; | 64 RefPtrWillBeMember<FilterEffect> m_lastEffect; |
| 67 WillBeHeapVector<RefPtrWillBeMember<ReferenceFilter> > m_referenceFilters; | 65 WillBeHeapVector<RefPtrWillBeMember<ReferenceFilter> > m_referenceFilters; |
| 68 }; | 66 }; |
| 69 | 67 |
| 70 } // namespace blink | 68 } // namespace blink |
| 71 | 69 |
| 72 #endif // FilterEffectRenderer_h | 70 #endif // FilterEffectRenderer_h |
| OLD | NEW |