| 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 50d3f2a3893f991ba51114fd42e7610f8e96a950..c2c522f3fd4dc8e51fb4596ee65707cfb4b1e5c6 100644
|
| --- a/third_party/WebKit/Source/core/dom/ScriptElementBase.h
|
| +++ b/third_party/WebKit/Source/core/dom/ScriptElementBase.h
|
| @@ -59,7 +59,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,
|
| @@ -71,9 +71,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:
|
| @@ -82,9 +79,6 @@ class CORE_EXPORT ScriptElementBase : public GarbageCollectedMixin {
|
| bool created_during_document_write);
|
|
|
| Member<ScriptLoader> loader_;
|
| -
|
| - private:
|
| - AtomicString nonce_;
|
| };
|
|
|
| } // namespace blink
|
|
|