Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(742)

Unified Diff: Source/core/html/parser/XSSAuditorDelegate.cpp

Issue 301163006: Add schedulePageBlock() to navigation scheduler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: use urlWithUniqueSecurityOrigin(). Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/parser/XSSAuditorDelegate.cpp
diff --git a/Source/core/html/parser/XSSAuditorDelegate.cpp b/Source/core/html/parser/XSSAuditorDelegate.cpp
index 3ca933955cc031a7b7215417d9d8af06c90ae275..975ff8a3bbb9d1e78c70b5d4c65f85ac3e85bc47 100644
--- a/Source/core/html/parser/XSSAuditorDelegate.cpp
+++ b/Source/core/html/parser/XSSAuditorDelegate.cpp
@@ -121,7 +121,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo)
}
if (xssInfo.m_didBlockEntirePage)
- m_document->frame()->navigationScheduler().scheduleLocationChange(m_document, SecurityOrigin::urlWithUniqueSecurityOrigin(), Referrer());
+ m_document->frame()->navigationScheduler().schedulePageBlock(m_document, Referrer());
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698