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

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: 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
Index: chrome/browser/extensions/extension_host.cc
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index a09b1b16d697553be8e9211b595d5d7ff33a15df..c4e1eba5d3a96fe678b8269d8a813a54fba53460 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -346,8 +346,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(

Powered by Google App Engine
This is Rietveld 408576698