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

Unified Diff: Source/WebKit/chromium/src/WebCache.cpp

Issue 14113007: Remove the ENABLE_XSLT compile-time flag. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebKit/chromium/src/WebCache.cpp
diff --git a/Source/WebKit/chromium/src/WebCache.cpp b/Source/WebKit/chromium/src/WebCache.cpp
index d7bbc813b695da37deb9b79506cec382ac24bb9d..0252fc22679952d30568225f029d48fc0861c90b 100644
--- a/Source/WebKit/chromium/src/WebCache.cpp
+++ b/Source/WebKit/chromium/src/WebCache.cpp
@@ -95,11 +95,7 @@ void WebCache::getResourceTypeStats(ResourceTypeStats* result)
ToResourceTypeStat(stats.images, result->images);
ToResourceTypeStat(stats.cssStyleSheets, result->cssStyleSheets);
ToResourceTypeStat(stats.scripts, result->scripts);
-#if ENABLE(XSLT)
ToResourceTypeStat(stats.xslStyleSheets, result->xslStyleSheets);
-#else
- memset(&result->xslStyleSheets, 0, sizeof(result->xslStyleSheets));
-#endif
ToResourceTypeStat(stats.fonts, result->fonts);
} else
memset(result, 0, sizeof(WebCache::ResourceTypeStats));
« no previous file with comments | « Source/WebKit/chromium/features.gypi ('k') | Source/bindings/v8/custom/V8XSLTProcessorCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698