| Index: third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| index 9590e48c93a62c02d61871303b61e3e59662dab7..cb7f26393261ca544ed8706aebe3d7f660e7f65f 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/XSSAuditorDelegate.cpp
|
| @@ -115,7 +115,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo) {
|
| if (xssInfo.m_didBlockEntirePage)
|
| frameLoader.stopAllLoaders();
|
|
|
| - if (!m_didSendNotifications) {
|
| + if (!m_didSendNotifications && frameLoader.client()) {
|
| m_didSendNotifications = true;
|
|
|
| frameLoader.client()->didDetectXSS(m_document->url(),
|
|
|