Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Unified Diff: Source/bindings/core/v8/WindowProxy.h

Issue 1327263002: Modifies WindowProxy::setSecurityToken so that the frame's SecurityOrigin is taken into account whe… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/WindowProxy.h
diff --git a/Source/bindings/core/v8/WindowProxy.h b/Source/bindings/core/v8/WindowProxy.h
index 6c6368e52e36a139cd5dc9565d69f61e4a4847d0..1f9c8abf229ac6a38d9860891e40a3f6cd72ec0b 100644
--- a/Source/bindings/core/v8/WindowProxy.h
+++ b/Source/bindings/core/v8/WindowProxy.h
@@ -71,6 +71,8 @@ public:
// (e.g., after setting docoument.domain).
void updateSecurityOrigin(SecurityOrigin*);
+ void setSecurityToken(SecurityOrigin*);
+
bool isContextInitialized() { return m_scriptState && !!m_scriptState->perContextData(); }
bool isGlobalInitialized() { return !m_global.isEmpty(); }
@@ -94,8 +96,6 @@ private:
};
void disposeContext(GlobalDetachmentBehavior);
- void setSecurityToken(SecurityOrigin*);
-
// The JavaScript wrapper for the document object is cached on the global
// object for fast access. UpdateDocumentProperty sets the wrapper
// for the current document on the global object.

Powered by Google App Engine
This is Rietveld 408576698