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

Unified Diff: chrome/renderer/extensions/dispatcher.cc

Issue 64843004: Get rid of user-level styles. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge to ToT Created 7 years, 1 month 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 | « chrome/chrome_tests_unit.gypi ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/extensions/dispatcher.cc
diff --git a/chrome/renderer/extensions/dispatcher.cc b/chrome/renderer/extensions/dispatcher.cc
index b4851fbaa99fd5b26f0134300f991cbe792f4abb..2973eabe80afda52c26b300ad4e58cc5e8c5fa54 100644
--- a/chrome/renderer/extensions/dispatcher.cc
+++ b/chrome/renderer/extensions/dispatcher.cc
@@ -1274,7 +1274,7 @@ void Dispatcher::DidCreateDocumentElement(blink::WebFrame* frame) {
ReplaceFirstSubstringAfterOffset(&stylesheet, 0,
"$FONTSIZE", system_font_size_);
frame->document().insertUserStyleSheet(
- WebString::fromUTF8(stylesheet), WebDocument::UserStyleUserLevel);
+ WebString::fromUTF8(stylesheet), WebDocument::UserStyleAuthorLevel);
}
content_watcher_->DidCreateDocumentElement(frame);
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | content/public/common/common_param_traits_macros.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698