| Index: Source/WebCore/loader/DocumentWriter.h
|
| ===================================================================
|
| --- Source/WebCore/loader/DocumentWriter.h (revision 96367)
|
| +++ Source/WebCore/loader/DocumentWriter.h (working copy)
|
| @@ -49,8 +49,10 @@
|
| // and always contains the result of evaluating a javascript: url.
|
| void replaceDocument(const String&);
|
|
|
| + enum SecurityOriginSource { CreateNewSecurityOrigin, InheritSecurityOrigin };
|
| +
|
| void begin();
|
| - void begin(const KURL&, bool dispatchWindowObjectAvailable = true, SecurityOrigin* forcedSecurityOrigin = 0);
|
| + void begin(const KURL&, bool dispatchWindowObjectAvailable = true, SecurityOriginSource = CreateNewSecurityOrigin);
|
| void addData(const char* bytes, size_t length);
|
| void end();
|
| void endIfNotLoadingMainResource();
|
|
|