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

Side by Side Diff: Source/core/layout/svg/LayoutSVGResourceContainer.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle 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) Research In Motion Limited 2010. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 } 67 }
68 68
69 void LayoutSVGResourceContainer::willBeDestroyed() 69 void LayoutSVGResourceContainer::willBeDestroyed()
70 { 70 {
71 SVGResourcesCache::resourceDestroyed(this); 71 SVGResourcesCache::resourceDestroyed(this);
72 LayoutSVGHiddenContainer::willBeDestroyed(); 72 LayoutSVGHiddenContainer::willBeDestroyed();
73 if (m_registered) 73 if (m_registered)
74 svgExtensionsFromElement(element()).removeResource(m_id); 74 svgExtensionsFromElement(element()).removeResource(m_id);
75 } 75 }
76 76
77 void LayoutSVGResourceContainer::styleDidChange(StyleDifference diff, const Layo utStyle* oldStyle) 77 void LayoutSVGResourceContainer::styleDidChange(StyleDifference diff, const Comp utedStyle* oldStyle)
78 { 78 {
79 LayoutSVGHiddenContainer::styleDidChange(diff, oldStyle); 79 LayoutSVGHiddenContainer::styleDidChange(diff, oldStyle);
80 80
81 if (!m_registered) { 81 if (!m_registered) {
82 m_registered = true; 82 m_registered = true;
83 registerResource(); 83 registerResource();
84 } 84 }
85 } 85 }
86 86
87 void LayoutSVGResourceContainer::idChanged() 87 void LayoutSVGResourceContainer::idChanged()
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 // This will process the rest of the ancestors. 290 // This will process the rest of the ancestors.
291 toLayoutSVGResourceContainer(current)->removeAllClientsFromCache(); 291 toLayoutSVGResourceContainer(current)->removeAllClientsFromCache();
292 break; 292 break;
293 } 293 }
294 294
295 current = current->parent(); 295 current = current->parent();
296 } 296 }
297 } 297 }
298 298
299 } 299 }
OLDNEW
« no previous file with comments | « Source/core/layout/svg/LayoutSVGResourceContainer.h ('k') | Source/core/layout/svg/LayoutSVGResourceFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698