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

Unified Diff: third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp

Issue 1936853002: Assert event timestamp to be monotonic and not from future Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to histogram Created 4 years, 2 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
Index: third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp
diff --git a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp
index 2dce61dc763bafad394fcc7077e6ead14bdc908c..4998c608045c031e1f2e648e1c0196acbf51b4dd 100644
--- a/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp
+++ b/third_party/WebKit/Source/core/paint/FirstMeaningfulPaintDetectorTest.cpp
@@ -16,12 +16,12 @@ protected:
{
m_dummyPageHolder = DummyPageHolder::create(IntSize(800, 600));
s_timeElapsed = 0.0;
- m_originalTimeFunction = setTimeFunctionsForTesting(returnMockTime);
+ m_originalTimeFunction = setMonotonicallyIncreasingTimeFunctionForTesting(returnMockTime);
}
void TearDown() override
{
- setTimeFunctionsForTesting(m_originalTimeFunction);
+ setMonotonicallyIncreasingTimeFunctionForTesting(m_originalTimeFunction);
}
Document& document() { return m_dummyPageHolder->document(); }
« no previous file with comments | « third_party/WebKit/Source/core/fetch/CachingCorrectnessTest.cpp ('k') | third_party/WebKit/Source/platform/HistogramTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698