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

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

Issue 1752713002: Fix SVGDocument return title that is not a child of the root element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/SVGTitleElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGTitleElement.h b/third_party/WebKit/Source/core/svg/SVGTitleElement.h
index 31e97532f5ea6ef5e671a13b70abede658e46c36..1adc590e486a673c13888393fd08845ca43d2548 100644
--- a/third_party/WebKit/Source/core/svg/SVGTitleElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGTitleElement.h
@@ -30,6 +30,8 @@ class SVGTitleElement final : public SVGElement {
public:
DECLARE_NODE_FACTORY(SVGTitleElement);
+ void setText(const String&);
+
private:
explicit SVGTitleElement(Document&);
@@ -38,6 +40,8 @@ private:
void childrenChanged(const ChildrenChange&) override;
bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
+
+ bool m_ignoreTitleUpdatesWhenChildrenChange;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/dom/Document.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTitleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698