Index: third_party/WebKit/Source/core/dom/ScriptLoaderClient.h |
diff --git a/third_party/WebKit/Source/core/dom/ScriptLoaderClient.h b/third_party/WebKit/Source/core/dom/ScriptLoaderClient.h |
index 406627f5263f2fce28b66b1b46255bf4ad85067c..3e9fd7ed9ac79467943a03de6331b91203eb7faa 100644 |
--- a/third_party/WebKit/Source/core/dom/ScriptLoaderClient.h |
+++ b/third_party/WebKit/Source/core/dom/ScriptLoaderClient.h |
@@ -43,9 +43,11 @@ class CORE_EXPORT ScriptLoaderClient { |
virtual bool deferAttributeValue() const = 0; |
virtual bool hasSourceAttribute() const = 0; |
- virtual AtomicString nonce() const = 0; |
- virtual void setNonce(const String&) = 0; |
- virtual void clearNonce() = 0; |
+ AtomicString nonce() const { return m_nonce; } |
+ void setNonce(const String& nonce) { m_nonce = AtomicString(nonce); } |
+ |
+ private: |
+ AtomicString m_nonce; |
}; |
} // namespace blink |