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

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

Issue 2694573002: Don't unconditionally create a LayoutObject for SVGMarkerElement. (Closed)
Patch Set: Don't unconditionally create a LayoutObject for SVGMarkerElement. Created 3 years, 10 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/svg/SVGMarkerElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGMarkerElement.h b/third_party/WebKit/Source/core/svg/SVGMarkerElement.h
index 832ca1b89d6c743d74b6fc2fac6c40dcf4d53711..a40769a952f9984e29caeb05010cf173e0550aa6 100644
--- a/third_party/WebKit/Source/core/svg/SVGMarkerElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGMarkerElement.h
@@ -88,7 +88,7 @@ class SVGMarkerElement final : public SVGElement, public SVGFitToViewBox {
void childrenChanged(const ChildrenChange&) override;
LayoutObject* createLayoutObject(const ComputedStyle&) override;
- bool layoutObjectIsNeeded(const ComputedStyle&) override { return true; }
+ bool layoutObjectIsNeeded(const ComputedStyle&) override;
bool selfHasRelativeLengths() const override;

Powered by Google App Engine
This is Rietveld 408576698