Index: third_party/WebKit/Source/core/svg/SVGScriptElement.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.h b/third_party/WebKit/Source/core/svg/SVGScriptElement.h |
index f1679b5330c70943cf15d3fa5484cf228d3dff02..ebb36066214c8d5d6c672695a48c00125d8d4310 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGScriptElement.h |
+++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.h |
@@ -46,6 +46,11 @@ class SVGScriptElement final : public SVGElement, |
bool isAnimatableAttribute(const QualifiedName&) const override; |
#endif |
+ // ScriptLoaderClient |
+ AtomicString nonce() const override { return m_nonce; } |
+ void setNonce(const String& nonce) override { m_nonce = AtomicString(nonce); } |
+ void clearNonce() override { m_nonce = nullAtom; } |
+ |
DECLARE_VIRTUAL_TRACE(); |
private: |
@@ -80,6 +85,7 @@ class SVGScriptElement final : public SVGElement, |
bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
Member<ScriptLoader> m_loader; |
+ AtomicString m_nonce; |
}; |
} // namespace blink |