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

Unified Diff: Source/platform/ScriptForbiddenScope.h

Issue 402303003: Enable the AllowSuperUnsafeScript assert disabler in debug builds. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « no previous file | Source/platform/ScriptForbiddenScope.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/ScriptForbiddenScope.h
diff --git a/Source/platform/ScriptForbiddenScope.h b/Source/platform/ScriptForbiddenScope.h
index e3894fdc98344b1a10714d2196c976bc81335306..1d24f3afcbac33ff597e6ac9ad99a2ad3a515a48 100644
--- a/Source/platform/ScriptForbiddenScope.h
+++ b/Source/platform/ScriptForbiddenScope.h
@@ -32,10 +32,8 @@ public:
public:
AllowSuperUnsafeScript();
~AllowSuperUnsafeScript();
-#if !ASSERT_ENABLED
private:
TemporaryChange<unsigned> m_change;
-#endif
};
static bool isScriptForbidden();
« no previous file with comments | « no previous file | Source/platform/ScriptForbiddenScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698