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 559b177490193f43e87f92681d85ff6521a65f49..b2f445689e6df04f99e8c52fec131061e20c3dd0 100644 |
--- a/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp |
+++ b/third_party/WebKit/Source/platform/exported/WebSecurityOrigin.cpp |
@@ -123,13 +123,10 @@ bool WebSecurityOrigin::canRequest(const WebURL& url) const |
return m_private->canRequest(url); |
} |
-bool WebSecurityOrigin::isPotentiallyTrustworthy(WebString& errorMessage) const |
+bool WebSecurityOrigin::isPotentiallyTrustworthy() const |
{ |
ASSERT(m_private); |
- bool result = m_private->isPotentiallyTrustworthy(); |
- if (!result) |
- errorMessage = WTF::String(m_private->isPotentiallyTrustworthyErrorMessage()); |
- return result; |
+ return m_private->isPotentiallyTrustworthy(); |
} |
WebString WebSecurityOrigin::toString() const |