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

Unified Diff: Source/core/dom/ParserContentPolicy.h

Issue 1001033003: Prepare Blink for removal of unsafePluginPastingEnabled setting. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/ParserContentPolicy.h
diff --git a/Source/core/dom/ParserContentPolicy.h b/Source/core/dom/ParserContentPolicy.h
index 88aaf757e41fbe977957db2a61c37a0c4f609f9e..0eae0d0ff846af7531fa38513cbb3e165efb5aff 100644
--- a/Source/core/dom/ParserContentPolicy.h
+++ b/Source/core/dom/ParserContentPolicy.h
@@ -52,13 +52,6 @@ static inline bool pluginContentIsAllowed(ParserContentPolicy parserContentPolic
return parserContentPolicy != DisallowScriptingAndPluginContent;
}
-static inline ParserContentPolicy allowPluginContent(ParserContentPolicy parserContentPolicy)
-{
- if (pluginContentIsAllowed(parserContentPolicy))
- return parserContentPolicy;
- return DisallowScriptingContent;
-}
-
} // namespace blink
#endif // ParserContentPolicy_h
« no previous file with comments | « no previous file | Source/core/dom/ScriptableDocumentParser.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698