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

Unified Diff: content/public/renderer/document_state.h

Issue 2448543002: Remove dead paint flush tracking code. (Closed)
Patch Set: rebase Created 4 years, 1 month 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 | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/renderer/document_state.h
diff --git a/content/public/renderer/document_state.h b/content/public/renderer/document_state.h
index 13a570053bcecf2350e92dac917542e81a73ba7b..2d406dd783f7963b6e7eae56cbda043ab52202a9 100644
--- a/content/public/renderer/document_state.h
+++ b/content/public/renderer/document_state.h
@@ -101,20 +101,6 @@ class CONTENT_EXPORT DocumentState
finish_load_time_ = value;
}
- // The time that painting first happened after a new navigation.
- const base::Time& first_paint_time() const { return first_paint_time_; }
- void set_first_paint_time(const base::Time& value) {
- first_paint_time_ = value;
- }
-
- // The time that painting first happened after the document loaded.
- const base::Time& first_paint_after_load_time() const {
- return first_paint_after_load_time_;
- }
- void set_first_paint_after_load_time(const base::Time& value) {
- first_paint_after_load_time_ = value;
- }
-
// True iff the histograms for the associated frame have been dumped.
bool load_histograms_recorded() const { return load_histograms_recorded_; }
void set_load_histograms_recorded(bool value) {
@@ -192,8 +178,6 @@ class CONTENT_EXPORT DocumentState
base::Time commit_load_time_;
base::Time finish_document_load_time_;
base::Time finish_load_time_;
- base::Time first_paint_time_;
- base::Time first_paint_after_load_time_;
bool load_histograms_recorded_;
bool web_timing_histograms_recorded_;
bool was_fetched_via_spdy_;
« no previous file with comments | « no previous file | content/renderer/render_view_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698