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

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
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/gpu/shader_disk_cache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..d06434ad987f6c9e50e717fef340e780b9f56ad2 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);
@@ -84,7 +81,6 @@ class CONTENT_EXPORT ShaderDiskCache
void ReadComplete();
bool cache_available_;
- size_t max_cache_size_;
int host_id_;
base::FilePath cache_path_;
bool is_initialized_;
« no previous file with comments | « content/browser/gpu/gpu_process_host.cc ('k') | content/browser/gpu/shader_disk_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698