OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2013 Google Inc. All rights reserved. | 3 * Copyright (C) 2013 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 // can share cached resources across frames. | 236 // can share cached resources across frames. |
237 m_lastEffect = previousEffect; | 237 m_lastEffect = previousEffect; |
238 | 238 |
239 // If we didn't make any effects, tell our caller we are not valid | 239 // If we didn't make any effects, tell our caller we are not valid |
240 if (!m_lastEffect.get()) | 240 if (!m_lastEffect.get()) |
241 return false; | 241 return false; |
242 | 242 |
243 return true; | 243 return true; |
244 } | 244 } |
245 | 245 |
246 void FilterEffectBuilder::clearIntermediateResults() | |
247 { | |
248 if (m_lastEffect.get()) | |
249 m_lastEffect->clearResultsRecursive(); | |
250 } | |
251 | |
252 | |
253 } // namespace blink | 246 } // namespace blink |
254 | 247 |
OLD | NEW |