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

Unified Diff: Source/core/css/CSSValuePool.cpp

Issue 16365009: Remove dead code in CSSValuePool. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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/core/css/CSSValuePool.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/CSSValuePool.cpp
diff --git a/Source/core/css/CSSValuePool.cpp b/Source/core/css/CSSValuePool.cpp
index 4c5d8ef4b26e334dcaef8521d48fe477808c4546..dae114364bdf262deb15bf99e16154eaf7116133 100644
--- a/Source/core/css/CSSValuePool.cpp
+++ b/Source/core/css/CSSValuePool.cpp
@@ -131,20 +131,4 @@ PassRefPtr<CSSValueList> CSSValuePool::createFontFaceValue(const AtomicString& s
return value;
}
-void CSSValuePool::drain()
-{
- m_colorValueCache.clear();
- m_fontFaceValueCache.clear();
- m_fontFamilyValueCache.clear();
-
- for (int i = 0; i < numCSSValueKeywords; ++i)
- m_identifierValueCache[i] = 0;
-
- for (int i = 0; i < maximumCacheableIntegerValue; ++i) {
- m_pixelValueCache[i] = 0;
- m_percentValueCache[i] = 0;
- m_numberValueCache[i] = 0;
- }
-}
-
}
« no previous file with comments | « Source/core/css/CSSValuePool.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698