Index: Source/core/rendering/RenderThemeChromiumAndroid.cpp |
diff --git a/Source/core/rendering/RenderThemeChromiumAndroid.cpp b/Source/core/rendering/RenderThemeChromiumAndroid.cpp |
index 2e4aacee65c85dbeb2d428f92d01157540fe4922..ec9e801eeb6d9610ccd06eaa04bf113226b8a22a 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/rendering/PaintInfo.h" |
#include "core/rendering/RenderMediaControls.h" |
#include "core/rendering/RenderObject.h" |
#include "core/rendering/RenderProgress.h" |
#include "core/rendering/RenderSlider.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,13 +60,13 @@ RenderThemeChromiumAndroid::~RenderThemeChromiumAndroid() |
String RenderThemeChromiumAndroid::extraMediaControlsStyleSheet() |
{ |
- return String(mediaControlsAndroidCss, sizeof(mediaControlsAndroidCss)); |
+ return loadResourceAsASCIIString("mediaControlsAndroid.css"); |
} |
String RenderThemeChromiumAndroid::extraDefaultStyleSheet() |
{ |
return RenderThemeChromiumDefault::extraDefaultStyleSheet() + |
- String(themeChromiumAndroidCss, sizeof(themeChromiumAndroidCss)); |
+ loadResourceAsASCIIString("themeChromiumAndroid.css"); |
} |
void RenderThemeChromiumAndroid::adjustInnerSpinButtonStyle(RenderStyle* style, Element*) const |