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

Unified Diff: Source/core/fetch/ResourceTest.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/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/frame/DOMTimerCoordinator.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/fetch/ResourceTest.cpp
diff --git a/Source/core/fetch/ResourceTest.cpp b/Source/core/fetch/ResourceTest.cpp
index 5dd02c66dd8a81713f34f16d74ffa465dc483415..9cd3cf1fa408f0209b66bc06c8075b48fdc32d28 100644
--- a/Source/core/fetch/ResourceTest.cpp
+++ b/Source/core/fetch/ResourceTest.cpp
@@ -22,7 +22,7 @@
class MockPlatform final : public Platform {
public:
- MockPlatform() : m_oldPlatform(Platform::current()) { }
+ MockPlatform() { }
~MockPlatform() override { }
// From blink::Platform:
@@ -40,13 +40,7 @@
return m_cachedURLs;
}
- WebThread* currentThread() override
- {
- return m_oldPlatform->currentThread();
- }
-
private:
- Platform* m_oldPlatform; // Not owned.
Vector<WebURL> m_cachedURLs;
};
« no previous file with comments | « Source/core/fetch/CachingCorrectnessTest.cpp ('k') | Source/core/frame/DOMTimerCoordinator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698