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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.cpp

Issue 2851453005: Mark some non-spinvalidation methods deprecated, and update paint/README.md (Closed)
Patch Set: - Created 3 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
3 * Copyright (C) 2006 Apple Inc. All rights reserved. 3 * Copyright (C) 2006 Apple Inc. All rights reserved.
4 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 4 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 void LayoutSVGInline::RemoveChild(LayoutObject* child) { 143 void LayoutSVGInline::RemoveChild(LayoutObject* child) {
144 SVGResourcesCache::ClientWillBeRemovedFromTree(child); 144 SVGResourcesCache::ClientWillBeRemovedFromTree(child);
145 145
146 if (LayoutSVGText* text_layout_object = 146 if (LayoutSVGText* text_layout_object =
147 LayoutSVGText::LocateLayoutSVGTextAncestor(this)) 147 LayoutSVGText::LocateLayoutSVGTextAncestor(this))
148 text_layout_object->SubtreeChildWillBeRemoved(); 148 text_layout_object->SubtreeChildWillBeRemoved();
149 LayoutInline::RemoveChild(child); 149 LayoutInline::RemoveChild(child);
150 } 150 }
151 151
152 void LayoutSVGInline::InvalidateTreeIfNeeded( 152 void LayoutSVGInline::DeprecatedInvalidateTree(
153 const PaintInvalidationState& paint_invalidation_state) { 153 const PaintInvalidationState& paint_invalidation_state) {
154 // TODO(wangxianzhu): Verify if the inherited 154 // TODO(wangxianzhu): Verify if the inherited
155 // LayoutBoxModelObject::invalidateTreeIfNeeded() is applicable here. 155 // LayoutBoxModelObject::invalidateTreeIfNeeded() is applicable here.
156 // If yes, remove this overriding method. 156 // If yes, remove this overriding method.
157 LayoutObject::InvalidateTreeIfNeeded(paint_invalidation_state); 157 LayoutObject::DeprecatedInvalidateTree(paint_invalidation_state);
158 } 158 }
159 159
160 } // namespace blink 160 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/svg/LayoutSVGInline.h ('k') | third_party/WebKit/Source/core/layout/svg/LayoutSVGText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698