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

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..97e6d59afd5083b6ad3fa138487cf951b3b85517 100644
--- a/third_party/WebKit/Source/core/svg/SVGTitleElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGTitleElement.h
@@ -30,6 +30,7 @@ class SVGTitleElement final : public SVGElement {
public:
DECLARE_NODE_FACTORY(SVGTitleElement);
+ void setText(const String &value);
private:
fs 2016/03/03 15:49:45 Add space between the above two lines.
hyunjunekim2 2016/03/04 11:29:32 Done.
explicit SVGTitleElement(Document&);
@@ -38,6 +39,8 @@ private:
void childrenChanged(const ChildrenChange&) override;
bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
+
+ bool m_ignoreTitleUpdatesWhenChildrenChange;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698