Index: third_party/WebKit/Source/core/html/HTMLScriptElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp |
index dcfb945fcb078e3133b0a0037c4bc6ddf29302c2..0110fca0800a72272486618e7c97e5c235de4120 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLScriptElement.cpp |
@@ -90,7 +90,7 @@ void HTMLScriptElement::parseAttribute( |
} else if (params.name == nonceAttr) { |
if (params.newValue == ContentSecurityPolicy::getNonceReplacementString()) |
return; |
- m_nonce = params.newValue; |
+ setNonce(params.newValue); |
if (RuntimeEnabledFeatures::hideNonceContentAttributeEnabled()) { |
setAttribute(nonceAttr, |
ContentSecurityPolicy::getNonceReplacementString()); |