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