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

Unified Diff: chrome/browser/extensions/extension_host.cc

Issue 7517001: Switch from WebDocument::insertStyleText to ::insertUserStyleSheet for programatic CSS injection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebaseline 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 | chrome/renderer/extensions/user_script_idle_scheduler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index fd7f7d84c30ad05ab27fc7bcd37b82fe837b7651..e578c271cfd4a27cd4448dd96df3f4d8b4f7df63 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -347,8 +347,7 @@ void ExtensionHost::InsertInfobarCSS() {
IDR_EXTENSIONS_INFOBAR_CSS));
render_view_host()->Send(new ViewMsg_CSSInsertRequest(
- render_view_host()->routing_id(), L"", css.as_string(),
- "InfobarThemeCSS"));
+ render_view_host()->routing_id(), L"", css.as_string()));
}
void ExtensionHost::DisableScrollbarsForSmallWindows(
« no previous file with comments | « no previous file | chrome/renderer/extensions/user_script_idle_scheduler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698