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

Unified Diff: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp

Issue 1646583002: [Reland] Per WebViewScheduler virtual time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 10 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/platform/testing/TestingPlatformSupport.cpp
diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
index 94c2e7cfb7491f5d45ed621acca36654d407852d..05fbbfd91bc03a751d55f5c2005be7afd87c1e98 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
@@ -131,6 +131,16 @@ public:
return nullptr;
}
+ double virtualTimeSeconds() const override
+ {
+ return 0.0;
+ }
+
+ double monotonicallyIncreasingVirtualTimeSeconds() const override
+ {
+ return 0.0;
esprehn 2016/02/18 03:23:00 this makes all timers in these tests busted since
alex clarke (OOO till 29th) 2016/02/18 16:07:57 I think they're already busted since this particul
+ }
+
private:
Deque<OwnPtr<WebTaskRunner::Task>>* m_tasks; // NOT OWNED
};

Powered by Google App Engine
This is Rietveld 408576698