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

Unified Diff: third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp

Issue 2128503002: Set 'ResourceRequest::requestorOrigin' in Blink. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: yay Created 4 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: third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp b/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp
index 051232ffcb904bbdd6324b723dc7952d90ef24a9..a3cf583642ae19bd0ac98230edff376040c3d0a6 100644
--- a/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp
@@ -100,8 +100,7 @@ unsigned short WebSecurityOrigin::effectivePort() const
bool WebSecurityOrigin::isUnique() const
{
- ASSERT(m_private);
- return m_private->isUnique();
+ return !m_private || m_private->isUnique();
}
bool WebSecurityOrigin::canAccess(const WebSecurityOrigin& other) const

Powered by Google App Engine
This is Rietveld 408576698