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

Unified Diff: Source/core/rendering/svg/RenderSVGResourcePattern.h

Issue 694283002: Const-ify static s_resourceType members in RenderSVGResouce* classes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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
Index: Source/core/rendering/svg/RenderSVGResourcePattern.h
diff --git a/Source/core/rendering/svg/RenderSVGResourcePattern.h b/Source/core/rendering/svg/RenderSVGResourcePattern.h
index 92da9a9303137a8f52717d403e097ff1bc5b6407..93afeff5f7e191773ddafbef6f3a300ffda82fad 100644
--- a/Source/core/rendering/svg/RenderSVGResourcePattern.h
+++ b/Source/core/rendering/svg/RenderSVGResourcePattern.h
@@ -48,8 +48,8 @@ public:
virtual SVGPaintServer preparePaintServer(const RenderObject&) override;
+ static const RenderSVGResourceType s_resourceType = PatternResourceType;
virtual RenderSVGResourceType resourceType() const override { return s_resourceType; }
- static const RenderSVGResourceType s_resourceType;
private:
PassOwnPtr<PatternData> buildPatternData(const RenderObject&);
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceMasker.cpp ('k') | Source/core/rendering/svg/RenderSVGResourcePattern.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698