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

Unified Diff: cc/layers/layer.h

Issue 1095483004: Add accessor for frameTimingRequests for blink unit tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 | « cc/blink/web_layer_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.h
diff --git a/cc/layers/layer.h b/cc/layers/layer.h
index 4eb5e8173a6580bb152dec52c87a7ca359e12ab9..26880779c53bd4d992685565d8019cd131c58e2a 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -528,6 +528,11 @@ class CC_EXPORT Layer : public base::RefCounted<Layer>,
// Sets new frame timing requests for this layer.
void SetFrameTimingRequests(const std::vector<FrameTimingRequest>& requests);
+ // Accessor for unit tests
+ const std::vector<FrameTimingRequest>& FrameTimingRequests() const {
+ return frame_timing_requests_;
+ }
+
void DidBeginTracing();
protected:
« no previous file with comments | « cc/blink/web_layer_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698