Index: Source/core/rendering/RenderThemeChromiumMac.mm |
diff --git a/Source/core/rendering/RenderThemeChromiumMac.mm b/Source/core/rendering/RenderThemeChromiumMac.mm |
index 920251ec9e6af5d2ce52c90ff1ae2412eebe7dd5..c8192271db221d1fd37ae8bdcb502067865c1452 100644 |
--- a/Source/core/rendering/RenderThemeChromiumMac.mm |
+++ b/Source/core/rendering/RenderThemeChromiumMac.mm |
@@ -23,7 +23,6 @@ |
#import "core/CSSValueKeywords.h" |
#import "core/HTMLNames.h" |
-#import "core/UserAgentStyleSheets.h" |
#import "core/css/CSSValueList.h" |
#import "core/dom/Document.h" |
#import "core/dom/Element.h" |
@@ -44,6 +43,7 @@ |
#import "core/rendering/RenderView.h" |
#import "core/rendering/style/ShadowList.h" |
#import "platform/LayoutTestSupport.h" |
+#import "platform/PlatformResourceLoader.h" |
#import "platform/SharedBuffer.h" |
#import "platform/graphics/BitmapImage.h" |
#import "platform/graphics/GraphicsContextStateSaver.h" |
@@ -1808,9 +1808,9 @@ String RenderThemeChromiumMac::extraFullScreenStyleSheet() |
String RenderThemeChromiumMac::extraDefaultStyleSheet() |
{ |
return RenderTheme::extraDefaultStyleSheet() + |
- String(themeChromiumCss, sizeof(themeChromiumCss)) + |
- String(themeInputMultipleFieldsCss, sizeof(themeInputMultipleFieldsCss)) + |
- String(themeMacCss, sizeof(themeMacCss)); |
+ loadResourceAsASCIIString("themeChromium.css") + |
+ loadResourceAsASCIIString("themeInputMultipleFields.css") + |
+ loadResourceAsASCIIString("themeMac.css"); |
} |
bool RenderThemeChromiumMac::paintMediaVolumeSliderContainer(RenderObject* object, const PaintInfo& paintInfo, const IntRect& rect) |