Index: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.cpp |
diff --git a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.cpp b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.cpp |
index bcbef3735ccc59edaa6300dc896e5840fe58ab1a..d64d662d76e1eca4fe4aeac1820e0f90daaaa0da 100644 |
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.cpp |
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.cpp |
@@ -66,6 +66,8 @@ SecurityPolicyViolationEvent::SecurityPolicyViolationEvent( |
m_columnNumber = initializer.columnNumber(); |
if (initializer.hasStatusCode()) |
m_statusCode = initializer.statusCode(); |
+ if (initializer.hasSample()) |
+ m_sample = initializer.sample(); |
} |
const String& SecurityPolicyViolationEvent::disposition() const { |