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

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: Remove some unneeded changes 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..8e39d3e1fe1c17c97baed7a73f25a5661c869549 100644
--- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
+++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
@@ -178,7 +178,6 @@ public:
bool isCurrentThread() const override
{
- ASSERT_NOT_REACHED();
return true;
}
@@ -192,6 +191,18 @@ public:
return m_mockWebScheduler.get();
}
+ double virtualTimeSeconds() override
+ {
+ ASSERT_NOT_REACHED();
+ return 0.0;
+ }
+
+ double monotonicallyIncreasingVirtualTimeSeconds() override
+ {
+ ASSERT_NOT_REACHED();
+ return 0.0;
+ }
+
private:
OwnPtr<TestingPlatformMockScheduler> m_mockWebScheduler;
};

Powered by Google App Engine
This is Rietveld 408576698