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

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

Issue 1058873010: Move blink scheduler implementation into a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 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
« 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 ca67587df8b334707b223f0019aed624b7ebd983..1e1a0485beeac68c59707ceffe6f62c9cb2a94f6 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -5,6 +5,7 @@
#include "content/public/test/render_view_test.h"
#include "base/run_loop.h"
+#include "components/scheduler/renderer/renderer_scheduler.h"
#include "content/common/dom_storage/dom_storage_types.h"
#include "content/common/frame_messages.h"
#include "content/common/input_messages.h"
@@ -21,7 +22,6 @@
#include "content/renderer/render_view_impl.h"
#include "content/renderer/renderer_blink_platform_impl.h"
#include "content/renderer/renderer_main_platform_delegate.h"
-#include "content/renderer/scheduler/renderer_scheduler.h"
#include "content/test/fake_compositor_dependencies.h"
#include "content/test/mock_render_process.h"
#include "content/test/test_content_client.h"
@@ -63,7 +63,8 @@ namespace content {
class RendererBlinkPlatformImplNoSandboxImpl
: public RendererBlinkPlatformImpl {
public:
- RendererBlinkPlatformImplNoSandboxImpl(RendererScheduler* scheduler)
+ RendererBlinkPlatformImplNoSandboxImpl(
+ scheduler::RendererScheduler* scheduler)
: RendererBlinkPlatformImpl(scheduler) {}
virtual blink::WebSandboxSupport* sandboxSupport() {
@@ -73,7 +74,7 @@ class RendererBlinkPlatformImplNoSandboxImpl
RenderViewTest::RendererBlinkPlatformImplNoSandbox::
RendererBlinkPlatformImplNoSandbox() {
- renderer_scheduler_ = RendererScheduler::Create();
+ renderer_scheduler_ = scheduler::RendererScheduler::Create();
blink_platform_impl_.reset(
new RendererBlinkPlatformImplNoSandboxImpl(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