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

Unified Diff: Source/core/fetch/CachingCorrectnessTest.cpp

Issue 1151633004: Revert of Implement timers by posting delayed tasks (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
« no previous file with comments | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | Source/core/fetch/ResourceTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/CachingCorrectnessTest.cpp
diff --git a/Source/core/fetch/CachingCorrectnessTest.cpp b/Source/core/fetch/CachingCorrectnessTest.cpp
index 35e33da9f3e844524e8b05d507490a84d8360bb6..b729004a7782da1ba3c50864f2a29f05119eb7d0 100644
--- a/Source/core/fetch/CachingCorrectnessTest.cpp
+++ b/Source/core/fetch/CachingCorrectnessTest.cpp
@@ -124,7 +124,7 @@
// A simple platform that mocks out the clock, for cache freshness testing.
class ProxyPlatform : public blink::Platform {
public:
- ProxyPlatform() : m_oldPlatform(blink::Platform::current()), m_elapsedSeconds(0.) { }
+ ProxyPlatform() : m_elapsedSeconds(0.) { }
void advanceClock(double seconds)
{
@@ -145,12 +145,6 @@
return &kAConstUnsignedCharZero;
}
- WebThread* currentThread() override
- {
- return m_oldPlatform->currentThread();
- }
-
- blink::Platform* m_oldPlatform; // Not owned.
double m_elapsedSeconds;
};
« no previous file with comments | « Source/core/animation/CompositorAnimationsTestHelper.h ('k') | Source/core/fetch/ResourceTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698