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

Unified Diff: Source/core/rendering/svg/RenderSVGResourceMarker.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/RenderSVGResourceMarker.h
diff --git a/Source/core/rendering/svg/RenderSVGResourceMarker.h b/Source/core/rendering/svg/RenderSVGResourceMarker.h
index c00eca70716b3f77a03aa84e19a3b24ba7f4e707..61a68bb6a19fe320f2f0236456c33bc689c49470 100644
--- a/Source/core/rendering/svg/RenderSVGResourceMarker.h
+++ b/Source/core/rendering/svg/RenderSVGResourceMarker.h
@@ -56,8 +56,8 @@ public:
const FloatRect& viewport() const { return m_viewport; }
+ static const RenderSVGResourceType s_resourceType = MarkerResourceType;
virtual RenderSVGResourceType resourceType() const override { return s_resourceType; }
- static const RenderSVGResourceType s_resourceType;
private:
// Generates a transformation matrix usable to render marker content. Handles scaling the marker content
« no previous file with comments | « Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp ('k') | Source/core/rendering/svg/RenderSVGResourceMarker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698