Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: Source/core/paint/FilterEffectBuilder.cpp

Issue 1097053004: Drop some dead code from FilterEffect (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698