| Index: third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp | 
| diff --git a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp | 
| index 84f740fc03ff7327967632e6f58fb297406c20b3..75ccae4168e61cf84ba79686b9a8fb9e9cea04aa 100644 | 
| --- a/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp | 
| +++ b/third_party/WebKit/Source/platform/weborigin/SecurityOrigin.cpp | 
| @@ -359,6 +359,15 @@ bool SecurityOrigin::isPotentiallyTrustworthy() const | 
| return false; | 
| } | 
|  | 
| +bool SecurityOrigin::isPotentiallyTrustworthy(String* errorMessage) const | 
| +{ | 
| +    if (isPotentiallyTrustworthy()) | 
| +        return true; | 
| +    if (errorMessage) | 
| +        *errorMessage = isPotentiallyTrustworthyErrorMessage(); | 
| +    return false; | 
| +} | 
| + | 
| // static | 
| String SecurityOrigin::isPotentiallyTrustworthyErrorMessage() | 
| { | 
|  |