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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h

Issue 2444593002: Introduce Layout*::adjustVisualRectForRasterEffects and use it for SVG hairlines. (Closed)
Patch Set: none Created 4 years, 2 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
Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
index 7b0708a1b5fb6ed9b198cd0680046f0cc04b6a0f..87ebf625089622ff3ce4cdecb5394b96acefef0b 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGShape.h
@@ -106,6 +106,8 @@ class LayoutSVGShape : public LayoutSVGModelObject {
const char* name() const override { return "LayoutSVGShape"; }
protected:
+ void adjustVisualRectForRasterEffects(LayoutRect&) const override;
+
void clearPath() { m_path.reset(); }
void createPath();

Powered by Google App Engine
This is Rietveld 408576698