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

Unified Diff: third_party/WebKit/Source/core/svg/SVGUseElement.h

Issue 1377063004: Use more const, more RefPtrs while iterating the SVG shadow tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGUseElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGUseElement.h b/third_party/WebKit/Source/core/svg/SVGUseElement.h
index 778ced47d08f68290e7a9d69a06759a78c78f187..68144f844fb9798c0caa3e07afa49f7336c7dd78 100644
--- a/third_party/WebKit/Source/core/svg/SVGUseElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGUseElement.h
@@ -34,8 +34,9 @@ namespace blink {
typedef EventSender<SVGUseElement> SVGUseEventSender;
class SVGUseElement final : public SVGGraphicsElement,
- public SVGURIReference,
- public DocumentResourceClient {
+ public SVGURIReference,
+ public DocumentResourceClient {
+
DEFINE_WRAPPERTYPEINFO();
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGUseElement);
public:
@@ -97,9 +98,9 @@ private:
void invalidateDependentShadowTrees();
- bool resourceIsStillLoading();
+ bool resourceIsStillLoading() const;
Document* externalDocument() const;
- bool instanceTreeIsLoading(SVGElement*);
+ bool instanceTreeIsLoading(const SVGElement*);
void notifyFinished(Resource*) override;
TreeScope* referencedScope() const;
void setDocumentResource(ResourcePtr<DocumentResource>);
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698