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

Unified Diff: Source/core/rendering/RenderThemeChromiumLinux.cpp

Issue 573553002: Move the user agent styles sheets to blink_resources.grd (Part 3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase! Created 6 years 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: Source/core/rendering/RenderThemeChromiumLinux.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumLinux.cpp b/Source/core/rendering/RenderThemeChromiumLinux.cpp
index 48f841833fea2f9dea52ff7b90c1eaee0472f54c..b5952782cf51546215a067f0374138525107bd82 100644
--- a/Source/core/rendering/RenderThemeChromiumLinux.cpp
+++ b/Source/core/rendering/RenderThemeChromiumLinux.cpp
@@ -5,7 +5,7 @@
#include "config.h"
#include "core/rendering/RenderThemeChromiumLinux.h"
-#include "core/UserAgentStyleSheets.h"
+#include "platform/PlatformResourceLoader.h"
namespace blink {
@@ -23,7 +23,7 @@ RenderTheme& RenderTheme::theme()
String RenderThemeChromiumLinux::extraDefaultStyleSheet()
{
return RenderThemeChromiumDefault::extraDefaultStyleSheet() +
- String(themeChromiumLinuxCss, sizeof(themeChromiumLinuxCss));
+ loadResourceAsASCIIString("themeChromiumLinux.css");
}
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumDefault.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698