Index: Source/core/rendering/RenderThemeChromiumSkia.cpp |
diff --git a/Source/core/rendering/RenderThemeChromiumSkia.cpp b/Source/core/rendering/RenderThemeChromiumSkia.cpp |
index 263450e8b0da7c28659caf89ec346d4c2d90f9b7..b2e10ca97a2324f6e38b21943fae8c0b0b960b1e 100644 |
--- a/Source/core/rendering/RenderThemeChromiumSkia.cpp |
+++ b/Source/core/rendering/RenderThemeChromiumSkia.cpp |
@@ -24,6 +24,7 @@ |
#include "config.h" |
#include "core/rendering/RenderThemeChromiumSkia.h" |
+#include "core/UserAgentStyleSheets.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderBox.h" |
#include "core/rendering/RenderMediaControls.h" |
@@ -31,7 +32,6 @@ |
#include "core/rendering/RenderProgress.h" |
#include "core/rendering/RenderThemeChromiumFontProvider.h" |
#include "platform/LayoutTestSupport.h" |
-#include "platform/PlatformResourceLoader.h" |
#include "platform/graphics/GraphicsContext.h" |
#include "platform/graphics/Image.h" |
#include "platform/scroll/ScrollbarTheme.h" |
@@ -70,14 +70,14 @@ |
String RenderThemeChromiumSkia::extraDefaultStyleSheet() |
{ |
return RenderTheme::extraDefaultStyleSheet() + |
- loadResourceAsASCIIString("themeWin.css") + |
- loadResourceAsASCIIString("themeChromiumSkia.css") + |
- loadResourceAsASCIIString("themeChromium.css"); |
+ String(themeWinCss, sizeof(themeWinCss)) + |
+ String(themeChromiumSkiaCss, sizeof(themeChromiumSkiaCss)) + |
+ String(themeChromiumCss, sizeof(themeChromiumCss)); |
} |
String RenderThemeChromiumSkia::extraQuirksStyleSheet() |
{ |
- return loadResourceAsASCIIString("themeWinQuirks.css"); |
+ return String(themeWinQuirksCss, sizeof(themeWinQuirksCss)); |
} |
bool RenderThemeChromiumSkia::supportsHover(const RenderStyle* style) const |