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

Unified Diff: services/image_decoder/image_decoder_impl_unittest.cc

Issue 2657133003: Fix image_decoder unit tests (Closed)
Patch Set: Created 3 years, 11 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/image_decoder/image_decoder_impl_unittest.cc
diff --git a/services/image_decoder/image_decoder_impl_unittest.cc b/services/image_decoder/image_decoder_impl_unittest.cc
index 82c7a0021d00162dc68961e1511e415acf33af40..a04f21d30926a16cab5b033972daa29fc48ec973 100644
--- a/services/image_decoder/image_decoder_impl_unittest.cc
+++ b/services/image_decoder/image_decoder_impl_unittest.cc
@@ -81,6 +81,8 @@ class BlinkInitializer : public blink::Platform {
~BlinkInitializer() override {}
+ blink::WebThread* currentThread() override { return main_thread_.get(); }
+
private:
std::unique_ptr<blink::scheduler::WebThreadImplForUtilityThread> main_thread_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698