Commit d1561cc7 authored by Nicolás Peña Moreno's avatar Nicolás Peña Moreno Committed by Commit Bot

Remove unused method from PaintTimingDetectors

Change-Id: I7599b8c08a602307da5a5dc7b181d3cec86daac8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769303Reviewed-by: default avatarXianzhu Wang <wangxianzhu@chromium.org>
Commit-Queue: Nicolás Peña Moreno <npm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#690039}
parent db1aaa88
......@@ -120,10 +120,6 @@ class CORE_EXPORT ImageRecordsManager {
void OnImageLoadedInternal(base::WeakPtr<ImageRecord>&,
unsigned current_frame_index);
inline bool NeedMeausuringPaintTime() const {
return !images_queued_for_paint_time_.IsEmpty();
}
// Compare the last frame index in queue with the last frame index that has
// registered for assigning paint time.
inline bool HasUnregisteredRecordsInQueued(
......@@ -245,13 +241,10 @@ class CORE_EXPORT ImagePaintTimingDetector final
private:
friend class LargestContentfulPaintCalculatorTest;
ImageRecord* FindLargestPaintCandidate() const;
void PopulateTraceValue(TracedValue&, const ImageRecord& first_image_paint);
void RegisterNotifySwapTime();
void ReportCandidateToTrace(ImageRecord&);
void ReportNoCandidateToTrace();
void Deactivate();
// Used to find the last candidate.
unsigned count_candidates_ = 0;
......
......@@ -125,9 +125,6 @@ class CORE_EXPORT TextRecordsManager {
invisible_objects_.Contains(&object);
}
size_t CountVisibleObjects() const { return visible_objects_.size(); }
size_t CountInvisibleObjects() const { return invisible_objects_.size(); }
inline bool IsKnownVisible(const LayoutObject& object) const {
return visible_objects_.Contains(&object);
}
......@@ -138,7 +135,6 @@ class CORE_EXPORT TextRecordsManager {
void CleanUp();
void CleanUpLargestTextPaint();
void StopRecordingLargestTextPaint();
bool HasTextElementTiming() const { return text_element_timing_; }
void SetTextElementTiming(TextElementTiming* text_element_timing) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment