| Index: third_party/WebKit/Source/web/WebDocument.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebDocument.cpp b/third_party/WebKit/Source/web/WebDocument.cpp
|
| index 78d64db8292d6e5eafae1f76a50bb42706997f4a..26f088f28b54f3237bcfe5ef412fc80c929e0bd1 100644
|
| --- a/third_party/WebKit/Source/web/WebDocument.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDocument.cpp
|
| @@ -79,14 +79,9 @@ WebSecurityOrigin WebDocument::getSecurityOrigin() const {
|
| return WebSecurityOrigin(constUnwrap<Document>()->getSecurityOrigin());
|
| }
|
|
|
| -bool WebDocument::isSecureContext(WebString& errorMessage) const {
|
| +bool WebDocument::isSecureContext() const {
|
| const Document* document = constUnwrap<Document>();
|
| - if (!document)
|
| - return false;
|
| - String message;
|
| - bool result = document->isSecureContext(message);
|
| - errorMessage = message;
|
| - return result;
|
| + return document && document->isSecureContext();
|
| }
|
|
|
| WebString WebDocument::encoding() const {
|
|
|