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

Unified Diff: content/browser/gpu/shader_disk_cache.h

Issue 17283002: Set max disk cache size correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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
Index: content/browser/gpu/shader_disk_cache.h
diff --git a/content/browser/gpu/shader_disk_cache.h b/content/browser/gpu/shader_disk_cache.h
index 48438e465dbf161ebd3f2d05b1bb591ffca74cbf..27a10b891d54e9e54c6b3a16ea56dcc016b5a658 100644
--- a/content/browser/gpu/shader_disk_cache.h
+++ b/content/browser/gpu/shader_disk_cache.h
@@ -34,9 +34,6 @@ class CONTENT_EXPORT ShaderDiskCache
void Init();
void set_host_id(int host_id) { host_id_ = host_id; }
- void set_max_cache_size(size_t max_cache_size) {
- max_cache_size_ = max_cache_size;
- }
// Store the |shader| into the cache under |key|.
void Cache(const std::string& key, const std::string& shader);

Powered by Google App Engine
This is Rietveld 408576698