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

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

Issue 1154853007: Move toClipPath to SVGGeometryElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Draft 1 Created 5 years, 6 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: Source/core/svg/SVGUseElement.h
diff --git a/Source/core/svg/SVGUseElement.h b/Source/core/svg/SVGUseElement.h
index 88f3537941989ef5e6577921cd4ddb4107c23f2d..cb44838e8a48ad6f10cbf9fdd43c4e3e206a5321 100644
--- a/Source/core/svg/SVGUseElement.h
+++ b/Source/core/svg/SVGUseElement.h
@@ -24,6 +24,7 @@
#include "core/events/EventSender.h"
#include "core/fetch/DocumentResource.h"
#include "core/svg/SVGAnimatedLength.h"
+#include "core/svg/SVGGeometryElement.h"
#include "core/svg/SVGGraphicsElement.h"
#include "core/svg/SVGURIReference.h"
#include "platform/heap/Handle.h"
@@ -43,7 +44,7 @@ public:
void invalidateShadowTree();
- LayoutObject* layoutObjectClipChild() const;
+ SVGGeometryElement* layoutObjectClipChild(Path&) const;
pdr. 2015/06/09 05:15:58 Sadness... the original code is worse than I expec
hyunjunekim2 2015/06/10 14:00:42 I will try again for your advice.
SVGAnimatedLength* x() const { return m_x.get(); }
SVGAnimatedLength* y() const { return m_y.get(); }
@@ -71,7 +72,6 @@ private:
virtual void svgAttributeChanged(const QualifiedName&) override;
virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
- virtual void toClipPath(Path&) override;
void clearResourceReferences();
void buildShadowAndInstanceTree(SVGElement* target);

Powered by Google App Engine
This is Rietveld 408576698