Index: third_party/WebKit/Source/core/dom/ParserContentPolicy.h |
diff --git a/third_party/WebKit/Source/core/dom/ParserContentPolicy.h b/third_party/WebKit/Source/core/dom/ParserContentPolicy.h |
index 0eae0d0ff846af7531fa38513cbb3e165efb5aff..23167e67a86f3b3e7b6af5c26244bc9450ad87eb 100644 |
--- a/third_party/WebKit/Source/core/dom/ParserContentPolicy.h |
+++ b/third_party/WebKit/Source/core/dom/ParserContentPolicy.h |
@@ -40,13 +40,6 @@ static inline bool scriptingContentIsAllowed(ParserContentPolicy parserContentPo |
return parserContentPolicy == AllowScriptingContent || parserContentPolicy == AllowScriptingContentAndDoNotMarkAlreadyStarted; |
} |
-static inline ParserContentPolicy disallowScriptingContent(ParserContentPolicy parserContentPolicy) |
tkent
2016/07/06 04:06:44
Is this change related to the purpose of this CL?
dominicc (has gone to gerrit)
2016/07/06 06:52:14
No, just some opportunistic clean up--this is unus
|
-{ |
- if (!scriptingContentIsAllowed(parserContentPolicy)) |
- return parserContentPolicy; |
- return DisallowScriptingContent; |
-} |
- |
static inline bool pluginContentIsAllowed(ParserContentPolicy parserContentPolicy) |
{ |
return parserContentPolicy != DisallowScriptingAndPluginContent; |