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

Unified Diff: chrome/renderer/content_settings_observer.cc

Issue 1833933002: Remove kSwappedOutURL as it is now unused. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/content_settings_observer.cc
diff --git a/chrome/renderer/content_settings_observer.cc b/chrome/renderer/content_settings_observer.cc
index 2e48be56122421ad169c48629000ce9051e82c19..58bf74ad8038d301513e8b5f3e9ae598b43d33f2 100644
--- a/chrome/renderer/content_settings_observer.cc
+++ b/chrome/renderer/content_settings_observer.cc
@@ -620,11 +620,6 @@ bool ContentSettingsObserver::IsWhitelistedForContentSettings(
return true;
#endif
- // TODO(creis, fsamuel): Remove this once the concept of swapped out
- // RenderFrames goes away.
- if (document_url == GURL(content::kSwappedOutURL))
- return true;
-
// If the scheme is file:, an empty file name indicates a directory listing,
// which requires JavaScript to function properly.
if (base::EqualsASCII(protocol, url::kFileScheme)) {
« no previous file with comments | « no previous file | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698