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

Unified Diff: sky/engine/platform/ScriptForbiddenScope.cpp

Issue 687803002: Remove AllowUserAgentScript. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « sky/engine/platform/ScriptForbiddenScope.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/platform/ScriptForbiddenScope.cpp
diff --git a/sky/engine/platform/ScriptForbiddenScope.cpp b/sky/engine/platform/ScriptForbiddenScope.cpp
index cd7c65d509af88fcd115deee1cd76373d3642e4c..79e6cdcec3006e73bdf734e5ba803abc8850f89a 100644
--- a/sky/engine/platform/ScriptForbiddenScope.cpp
+++ b/sky/engine/platform/ScriptForbiddenScope.cpp
@@ -53,14 +53,4 @@ ScriptForbiddenScope::AllowUserAgentScript::~AllowUserAgentScript()
ASSERT(!s_scriptForbiddenCount);
}
-ScriptForbiddenScope::AllowSuperUnsafeScript::AllowSuperUnsafeScript()
- : m_change(s_scriptForbiddenCount, 0)
-{
-}
-
-ScriptForbiddenScope::AllowSuperUnsafeScript::~AllowSuperUnsafeScript()
-{
- ASSERT(!s_scriptForbiddenCount);
-}
-
} // namespace blink
« no previous file with comments | « sky/engine/platform/ScriptForbiddenScope.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698