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

Unified Diff: Source/core/svg/SVGDocumentExtensions.h

Issue 1288903003: Random clean up of SVGResourcesCache (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/layout/svg/SVGResourcesCache.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGDocumentExtensions.h
diff --git a/Source/core/svg/SVGDocumentExtensions.h b/Source/core/svg/SVGDocumentExtensions.h
index 04214ad3e87b7b635d8186107d7816c1ea8f8ecc..013726fa0b7b20e5db5167ccafd76032f720bcda 100644
--- a/Source/core/svg/SVGDocumentExtensions.h
+++ b/Source/core/svg/SVGDocumentExtensions.h
@@ -60,7 +60,7 @@ public:
void reportWarning(const String&);
void reportError(const String&);
- SVGResourcesCache* resourcesCache() const { return m_resourcesCache.get(); }
+ SVGResourcesCache& resourcesCache() const { return *m_resourcesCache; }
f(malita) 2015/08/19 13:04:34 Nit: can we store m_resourcesCache inline (instead
fs 2015/08/19 13:13:58 Yeah, it's not too burdensome - I'll do that in a
void addSVGRootWithRelativeLengthDescendents(SVGSVGElement*);
void removeSVGRootWithRelativeLengthDescendents(SVGSVGElement*);
« no previous file with comments | « Source/core/layout/svg/SVGResourcesCache.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698