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 |