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

Unified Diff: cc/surfaces/display.h

Issue 2966803002: Limit the size of latency info storage (Closed)
Patch Set: Separate the checks for clarity Created 3 years, 5 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 | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/display.h
diff --git a/cc/surfaces/display.h b/cc/surfaces/display.h
index b96abb6fe5d74cb14f8e16dd5509d226d4e06bff..428b241f44c844d07cc77389bb7a292608347cbd 100644
--- a/cc/surfaces/display.h
+++ b/cc/surfaces/display.h
@@ -87,6 +87,9 @@ class CC_SURFACES_EXPORT Display : public DisplaySchedulerClient,
bool has_scheduler() const { return !!scheduler_; }
DirectRenderer* renderer_for_testing() const { return renderer_.get(); }
+ size_t stored_latency_info_size_for_testing() const {
+ return stored_latency_info_.size();
+ }
void ForceImmediateDrawAndSwapIfPossible();
« no previous file with comments | « no previous file | cc/surfaces/display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698