Index: Source/core/rendering/RenderThemeChromiumAndroid.cpp |
diff --git a/Source/core/rendering/RenderThemeChromiumAndroid.cpp b/Source/core/rendering/RenderThemeChromiumAndroid.cpp |
index d08bd8a78172d947b08dd48df31487d3e653a9b9..76d62f3b67f44aeaf6900d57df03e1526ac69f71 100644 |
--- a/Source/core/rendering/RenderThemeChromiumAndroid.cpp |
+++ b/Source/core/rendering/RenderThemeChromiumAndroid.cpp |
@@ -28,13 +28,13 @@ |
#include "core/CSSValueKeywords.h" |
#include "core/InputTypeNames.h" |
-#include "core/UserAgentStyleSheets.h" |
#include "core/layout/LayoutSlider.h" |
#include "core/rendering/PaintInfo.h" |
#include "core/rendering/RenderMediaControls.h" |
#include "core/rendering/RenderObject.h" |
#include "core/rendering/RenderProgress.h" |
#include "platform/LayoutTestSupport.h" |
+#include "platform/PlatformResourceLoader.h" |
#include "platform/graphics/Color.h" |
#include "platform/scroll/ScrollbarTheme.h" |
#include "public/platform/Platform.h" |
@@ -60,14 +60,15 @@ RenderThemeChromiumAndroid::~RenderThemeChromiumAndroid() |
String RenderThemeChromiumAndroid::extraMediaControlsStyleSheet() |
{ |
- return String(mediaControlsAndroidCss, sizeof(mediaControlsAndroidCss)); |
+ return loadResourceAsASCIIString("mediaControlsAndroid.css"); |
} |
String RenderThemeChromiumAndroid::extraDefaultStyleSheet() |
{ |
return RenderThemeChromiumDefault::extraDefaultStyleSheet() + |
- String(themeChromiumLinuxCss, sizeof(themeChromiumLinuxCss)) + |
- String(themeChromiumAndroidCss, sizeof(themeChromiumAndroidCss)); |
+ loadResourceAsASCIIString("themeChromiumLinux.css") + |
+ loadResourceAsASCIIString("themeChromiumAndroid.css"); |
+ |
} |
void RenderThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle* style, Element*) const |