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

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

Issue 567073004: Revert of 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: Created 6 years, 3 months 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/RenderThemeChromiumDefault.cpp
diff --git a/Source/core/rendering/RenderThemeChromiumDefault.cpp b/Source/core/rendering/RenderThemeChromiumDefault.cpp
index 54eb6f7fce81d46c62702a8cb3c04ae42aa638dc..4c60c7e24355f2e9960226707124cc234e13194b 100644
--- a/Source/core/rendering/RenderThemeChromiumDefault.cpp
+++ b/Source/core/rendering/RenderThemeChromiumDefault.cpp
@@ -26,11 +26,11 @@
#include "core/rendering/RenderThemeChromiumDefault.h"
#include "core/CSSValueKeywords.h"
+#include "core/UserAgentStyleSheets.h"
#include "core/rendering/PaintInfo.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/graphics/GraphicsContext.h"
#include "platform/graphics/GraphicsContextStateSaver.h"
@@ -133,12 +133,12 @@
#if !OS(WIN)
return RenderThemeChromiumSkia::extraDefaultStyleSheet() +
#if !OS(ANDROID)
- loadResourceAsASCIIString("themeInputMultipleFields.css") +
+ String(themeInputMultipleFieldsCss, sizeof(themeInputMultipleFieldsCss)) +
#endif
- loadResourceAsASCIIString("themeChromiumLinux.css");
+ String(themeChromiumLinuxCss, sizeof(themeChromiumLinuxCss));
#else
return RenderThemeChromiumSkia::extraDefaultStyleSheet() +
- loadResourceAsASCIIString("themeInputMultipleFields.css");
+ String(themeInputMultipleFieldsCss, sizeof(themeInputMultipleFieldsCss));
#endif
}
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.cpp ('k') | Source/core/rendering/RenderThemeChromiumMac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698