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

Unified Diff: services/data_decoder/image_decoder_impl_unittest.cc

Issue 2812063002: [scheduler] Remove WebThreadImplForUtilityThread from public API. (Closed)
Patch Set: Fix unittest compilation Created 3 years, 8 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: services/data_decoder/image_decoder_impl_unittest.cc
diff --git a/services/data_decoder/image_decoder_impl_unittest.cc b/services/data_decoder/image_decoder_impl_unittest.cc
index 21a504e02598aafa46ff400943688ca2bfb5d68a..0f304256d7e466410a11fbb1303441bd1d33ed78 100644
--- a/services/data_decoder/image_decoder_impl_unittest.cc
+++ b/services/data_decoder/image_decoder_impl_unittest.cc
@@ -12,7 +12,7 @@
#include "gin/public/isolate_holder.h"
#include "services/data_decoder/image_decoder_impl.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "third_party/WebKit/public/platform/scheduler/utility/webthread_impl_for_utility_thread.h"
+#include "third_party/WebKit/public/platform/scheduler/child/webthread_base.h"
#include "third_party/WebKit/public/web/WebKit.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "ui/gfx/codec/jpeg_codec.h"
@@ -71,7 +71,8 @@ class Request {
class BlinkInitializer : public blink::Platform {
public:
BlinkInitializer()
- : main_thread_(new blink::scheduler::WebThreadImplForUtilityThread()) {
+ : main_thread_(
+ blink::scheduler::WebThreadBase::InitializeUtilityThread()) {
#if defined(V8_USE_EXTERNAL_STARTUP_DATA)
gin::V8Initializer::LoadV8Snapshot();
gin::V8Initializer::LoadV8Natives();
@@ -85,7 +86,7 @@ class BlinkInitializer : public blink::Platform {
blink::WebThread* CurrentThread() override { return main_thread_.get(); }
private:
- std::unique_ptr<blink::scheduler::WebThreadImplForUtilityThread> main_thread_;
+ std::unique_ptr<blink::scheduler::WebThreadBase> main_thread_;
DISALLOW_COPY_AND_ASSIGN(BlinkInitializer);
};
« no previous file with comments | « content/utility/utility_blink_platform_impl.cc ('k') | third_party/WebKit/Source/platform/scheduler/child/webthread_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698