Index: third_party/WebKit/Source/core/dom/ScriptElementBase.h |
diff --git a/third_party/WebKit/Source/core/dom/ScriptElementBase.h b/third_party/WebKit/Source/core/dom/ScriptElementBase.h |
index 3c131c112755e6b13a532be230b73a8dd2911587..bd1bcd2b485569824a4baca00b80a6fc34b6f98f 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptElementBase.h |
+++ b/third_party/WebKit/Source/core/dom/ScriptElementBase.h |
@@ -60,7 +60,7 @@ class CORE_EXPORT ScriptElementBase : public GarbageCollectedMixin { |
virtual bool HasSourceAttribute() const = 0; |
virtual bool IsConnected() const = 0; |
virtual bool HasChildren() const = 0; |
- virtual bool IsNonceableElement() const = 0; |
+ virtual const AtomicString& GetNonceForElement() const = 0; |
virtual AtomicString InitiatorName() const = 0; |
virtual bool AllowInlineScriptForCSP(const AtomicString& nonce, |
@@ -72,9 +72,6 @@ class CORE_EXPORT ScriptElementBase : public GarbageCollectedMixin { |
ScriptLoader* Loader() const { return loader_.Get(); } |
- AtomicString nonce() const { return nonce_; } |
- void setNonce(const String& nonce) { nonce_ = AtomicString(nonce); } |
- |
DECLARE_VIRTUAL_TRACE(); |
protected: |
@@ -83,9 +80,6 @@ class CORE_EXPORT ScriptElementBase : public GarbageCollectedMixin { |
bool created_during_document_write); |
Member<ScriptLoader> loader_; |
- |
- private: |
- AtomicString nonce_; |
}; |
} // namespace blink |