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

Unified Diff: cc/layers/layer.h

Issue 1897123002: Remove current implementation of frame timing events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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/debug/frame_timing_tracker_unittest.cc ('k') | cc/layers/layer.cc » ('j') | 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 af935839ecf243b65e0e989bdfe3437db8c85e92..220a9dba884eacf73e804312c111d895985887b6 100644
--- a/cc/layers/layer.h
+++ b/cc/layers/layer.h
@@ -20,7 +20,6 @@
#include "cc/animation/target_property.h"
#include "cc/base/cc_export.h"
#include "cc/base/region.h"
-#include "cc/debug/frame_timing_request.h"
#include "cc/debug/micro_benchmark.h"
#include "cc/input/input_handler.h"
#include "cc/layers/layer_collections.h"
@@ -488,14 +487,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
void SetSubtreePropertyChanged();
bool subtree_property_changed() const { return subtree_property_changed_; }
- // 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();
int num_copy_requests_in_target_subtree();
@@ -689,9 +680,6 @@ class CC_EXPORT Layer : public base::RefCounted<Layer> {
gfx::Rect visible_layer_rect_;
size_t num_unclipped_descendants_;
- std::vector<FrameTimingRequest> frame_timing_requests_;
- bool frame_timing_requests_dirty_;
-
DISALLOW_COPY_AND_ASSIGN(Layer);
};
« no previous file with comments | « cc/debug/frame_timing_tracker_unittest.cc ('k') | cc/layers/layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698