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

Unified Diff: chrome/browser/ui/views/dom_view.cc

Issue 7281029: Fixes DomView selection problems. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/dom_view.cc
diff --git a/chrome/browser/ui/views/dom_view.cc b/chrome/browser/ui/views/dom_view.cc
index e9756cd073ed6cd12f5d1dfe857a94bbcd9c0e69..c19912f54df99aa754a19576be832c0315fd77e0 100644
--- a/chrome/browser/ui/views/dom_view.cc
+++ b/chrome/browser/ui/views/dom_view.cc
@@ -4,6 +4,7 @@
#include "chrome/browser/ui/views/dom_view.h"
+#include "chrome/browser/renderer_preferences_util.h"
#include "content/browser/tab_contents/tab_contents.h"
#include "views/focus/focus_manager.h"
@@ -34,6 +35,10 @@ bool DOMView::Init(Profile* profile, SiteInstance* instance) {
initialized_ = true;
tab_contents_.reset(CreateTabContents(profile, instance));
+
+ renderer_preferences_util::UpdateFromSystemSettings(
+ tab_contents_->GetMutableRendererPrefs(), profile);
+
// Attach the native_view now if the view is already added to Widget.
if (GetWidget())
AttachTabContents();
« 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