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

Unified Diff: cc/tiles/software_image_decode_controller.h

Issue 2382573002: Add BACKGROUND dump mode to various GPU/CC MemoryDumpProviders (Closed)
Patch Set: Created 4 years, 3 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: cc/tiles/software_image_decode_controller.h
diff --git a/cc/tiles/software_image_decode_controller.h b/cc/tiles/software_image_decode_controller.h
index e1427c71e215919d876b75b847a2ee9ee8c2d9f7..f801ffc21c97665d37e428110295dddf2ab8597e 100644
--- a/cc/tiles/software_image_decode_controller.h
+++ b/cc/tiles/software_image_decode_controller.h
@@ -198,10 +198,9 @@ class CC_EXPORT SoftwareImageDecodeController
void SubtractUsage(size_t usage);
void ResetUsage();
size_t total_limit_bytes() const { return limit_bytes_; }
-
- private:
size_t GetCurrentUsageSafe() const;
+ private:
size_t limit_bytes_;
base::CheckedNumeric<size_t> current_usage_bytes_;
};

Powered by Google App Engine
This is Rietveld 408576698