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

Unified Diff: content/public/test/render_view_test.cc

Issue 2118903002: scheduler: Move the Blink scheduler into Blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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 | « content/public/test/render_view_test.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index 72c1e356c0fdb5da2c37510cabef3fbe29f2c6dc..bb5cf71388b28f6ca66466b64b0b6d874b746c08 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -13,7 +13,6 @@
#include "base/run_loop.h"
#include "base/single_thread_task_runner.h"
#include "build/build_config.h"
-#include "components/scheduler/renderer/renderer_scheduler.h"
#include "content/app/mojo/mojo_init.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/common/frame_messages.h"
@@ -40,6 +39,7 @@
#include "third_party/WebKit/public/platform/WebScreenInfo.h"
#include "third_party/WebKit/public/platform/WebSecurityOrigin.h"
#include "third_party/WebKit/public/platform/WebURLRequest.h"
+#include "third_party/WebKit/public/platform/scheduler/renderer/renderer_scheduler.h"
#include "third_party/WebKit/public/web/WebDocument.h"
#include "third_party/WebKit/public/web/WebHistoryItem.h"
#include "third_party/WebKit/public/web/WebInputElement.h"
@@ -115,9 +115,8 @@ class RendererBlinkPlatformImplTestOverrideImpl
: public RendererBlinkPlatformImpl {
public:
RendererBlinkPlatformImplTestOverrideImpl(
- scheduler::RendererScheduler* scheduler)
- : RendererBlinkPlatformImpl(scheduler, nullptr) {
- }
+ blink::scheduler::RendererScheduler* scheduler)
+ : RendererBlinkPlatformImpl(scheduler, nullptr) {}
// Get rid of the dependency to the sandbox, which is not available in
// RenderViewTest.
@@ -126,7 +125,7 @@ class RendererBlinkPlatformImplTestOverrideImpl
RenderViewTest::RendererBlinkPlatformImplTestOverride::
RendererBlinkPlatformImplTestOverride() {
- renderer_scheduler_ = scheduler::RendererScheduler::Create();
+ renderer_scheduler_ = blink::scheduler::RendererScheduler::Create();
blink_platform_impl_.reset(
new RendererBlinkPlatformImplTestOverrideImpl(renderer_scheduler_.get()));
}
« no previous file with comments | « content/public/test/render_view_test.h ('k') | content/renderer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698