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

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

Issue 849163003: Reland: 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: Rebase Created 5 years, 11 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 caff84b07543a53f88aeba01edd0c24390f7dea0..42489dffbd69037dd53f2338bc83dc140b51e237 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"
@@ -115,7 +115,7 @@ String RenderThemeChromiumDefault::extraDefaultStyleSheet()
{
#if ENABLE(INPUT_MULTIPLE_FIELDS_UI)
return RenderThemeChromiumSkia::extraDefaultStyleSheet()
- + String(themeInputMultipleFieldsCss, sizeof(themeInputMultipleFieldsCss));
+ + loadResourceAsASCIIString("themeInputMultipleFields.css");
#else
return RenderThemeChromiumSkia::extraDefaultStyleSheet();
#endif
« no previous file with comments | « Source/core/rendering/RenderThemeChromiumAndroid.cpp ('k') | Source/core/rendering/RenderThemeChromiumLinux.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698