| 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 9ef8eba26d5fbe4f0fabe032d22b475a1330afce..371e42b7580c0bbf14fb730518558165e7e038a6 100644
|
| --- a/third_party/WebKit/Source/web/WebDocument.cpp
|
| +++ b/third_party/WebKit/Source/web/WebDocument.cpp
|
| @@ -82,13 +82,13 @@ WebSecurityOrigin WebDocument::securityOrigin() const
|
| return WebSecurityOrigin(constUnwrap<Document>()->securityOrigin());
|
| }
|
|
|
| -bool WebDocument::isPrivilegedContext(WebString& errorMessage) const
|
| +bool WebDocument::isSecureContext(WebString& errorMessage) const
|
| {
|
| const Document* document = constUnwrap<Document>();
|
| if (!document)
|
| return false;
|
| String message;
|
| - bool result = document->isPrivilegedContext(message);
|
| + bool result = document->isSecureContext(message);
|
| errorMessage = message;
|
| return result;
|
| }
|
|
|