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

Side by Side Diff: Source/core/rendering/svg/RenderSVGResourceFilter.cpp

Issue 436693002: Get rid of RenderLayer tracking in RenderSVGResourceContainer. Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove RenderLayer::filterNeedsPaintInvalidation() (now unused). Created 6 years, 4 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) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2005 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 continue; 407 continue;
408 // Since all effects shares the same attribute value, all 408 // Since all effects shares the same attribute value, all
409 // or none of them will be changed. 409 // or none of them will be changed.
410 if (!primitve->setFilterEffectAttribute(effect, attribute)) 410 if (!primitve->setFilterEffectAttribute(effect, attribute))
411 return; 411 return;
412 builder->clearResultsRecursive(effect); 412 builder->clearResultsRecursive(effect);
413 413
414 // Repaint the image on the screen. 414 // Repaint the image on the screen.
415 markClientForInvalidation(it->key, RepaintInvalidation); 415 markClientForInvalidation(it->key, RepaintInvalidation);
416 } 416 }
417 markAllClientLayersForInvalidation();
418 } 417 }
419 418
420 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const 419 FloatRect RenderSVGResourceFilter::drawingRegion(RenderObject* object) const
421 { 420 {
422 FilterData* filterData = m_filter.get(object); 421 FilterData* filterData = m_filter.get(object);
423 return filterData ? filterData->drawingRegion : FloatRect(); 422 return filterData ? filterData->drawingRegion : FloatRect();
424 } 423 }
425 424
426 } 425 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceContainer.cpp ('k') | Source/core/svg/SVGFilterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698