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

Unified Diff: chrome/browser/renderer_host/render_view_host.cc

Issue 6269010: Remove dead code per email with aa about the TODO saying that (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host.cc
diff --git a/chrome/browser/renderer_host/render_view_host.cc b/chrome/browser/renderer_host/render_view_host.cc
index 4f9d87880e3b09bca35f911dcd8582bcc921a12a..c4f3ba64251788f4ec622d706287364c639e0d76 100644
--- a/chrome/browser/renderer_host/render_view_host.cc
+++ b/chrome/browser/renderer_host/render_view_host.cc
@@ -168,21 +168,11 @@ bool RenderViewHost::CreateRenderView(const string16& frame_name) {
renderer_initialized_ = true;
- // Force local storage to be enabled for extensions. This is so that we can
- // enable extensions by default before databases, if necessary.
- // TODO(aa): This should be removed when local storage and databases are
- // enabled by default (bugs 4359 and 4360).
- WebPreferences webkit_prefs = delegate_->GetWebkitPrefs();
- if (delegate_->GetURL().SchemeIs(chrome::kExtensionScheme)) {
- webkit_prefs.local_storage_enabled = true;
- webkit_prefs.databases_enabled = true;
Aaron Boodman 2011/01/18 23:00:53 Does this mean that these preferences will always
Alex Nicolaou 2011/01/19 00:43:37 I wouldn't know, I was going based on your TODO ab
- }
-
ViewMsg_New_Params params;
params.parent_window = GetNativeViewId();
params.renderer_preferences =
delegate_->GetRendererPrefs(process()->profile());
- params.web_preferences = webkit_prefs;
+ params.web_preferences = delegate_->GetWebkitPrefs();
params.view_id = routing_id();
params.session_storage_namespace_id = session_storage_namespace_->id();
params.frame_name = frame_name;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698