| Index: third_party/WebKit/Source/core/dom/Document.h
|
| diff --git a/third_party/WebKit/Source/core/dom/Document.h b/third_party/WebKit/Source/core/dom/Document.h
|
| index 5478be0cd969217b3f8a38bb51aec88ca25237df..851a0c1f3de5d23bd0215f49a59a7132eedc92d4 100644
|
| --- a/third_party/WebKit/Source/core/dom/Document.h
|
| +++ b/third_party/WebKit/Source/core/dom/Document.h
|
| @@ -628,6 +628,10 @@ class CORE_EXPORT Document : public ContainerNode,
|
| // base URL of parent will be returned, passed base URL override otherwise.
|
| const KURL& BaseURLForOverride(const KURL& base_url_override) const;
|
|
|
| + // Determines whether a new document should take on the same origin as that of
|
| + // the document which created it.
|
| + static bool ShouldInheritSecurityOriginFromOwner(const KURL&);
|
| +
|
| String UserAgent() const final;
|
| void DisableEval(const String& error_message) final;
|
|
|
|
|