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

Unified Diff: third_party/WebKit/Source/core/dom/Document.cpp

Issue 1476953004: Consolidate functions for updating state after a security origin change. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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: third_party/WebKit/Source/core/dom/Document.cpp
diff --git a/third_party/WebKit/Source/core/dom/Document.cpp b/third_party/WebKit/Source/core/dom/Document.cpp
index 8b824c9c8f62faa09b5255e84592bd1a9be7932b..2c74e0029b3b014d6257a1c98c7cf6ba025cf75e 100644
--- a/third_party/WebKit/Source/core/dom/Document.cpp
+++ b/third_party/WebKit/Source/core/dom/Document.cpp
@@ -4904,8 +4904,7 @@ void Document::didUpdateSecurityOrigin()
{
if (!m_frame)
return;
- m_frame->updateFrameSecurityOrigin();
- m_frame->script().updateSecurityOrigin(securityOrigin());
+ m_frame->updateSecurityOrigin(securityOrigin());
}
bool Document::isContextThread() const

Powered by Google App Engine
This is Rietveld 408576698