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

Unified Diff: content/test/layouttest_support.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/test/fake_renderer_scheduler.cc ('k') | content/test/test_blink_web_unit_test_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/layouttest_support.cc
diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
index 7e2a5beb5701ccc01fd3b6d3b5f7b94693b22212..746d0ad4e037f0560aec1e0fb493000f8a575211 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -15,7 +15,6 @@
#include "cc/output/copy_output_request.h"
#include "cc/test/pixel_test_output_surface.h"
#include "cc/test/test_delegating_output_surface.h"
-#include "components/scheduler/test/renderer_scheduler_test_support.h"
#include "components/test_runner/test_common.h"
#include "components/test_runner/web_frame_test_proxy.h"
#include "components/test_runner/web_view_test_proxy.h"
@@ -41,6 +40,7 @@
#include "third_party/WebKit/public/platform/WebGamepads.h"
#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionData.h"
#include "third_party/WebKit/public/platform/modules/device_orientation/WebDeviceOrientationData.h"
+#include "third_party/WebKit/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/WebKit/public/web/WebHistoryItem.h"
#include "third_party/WebKit/public/web/WebView.h"
@@ -571,9 +571,9 @@ std::string DumpBackForwardList(std::vector<PageState>& page_state,
}
void SchedulerRunIdleTasks(const base::Closure& callback) {
- scheduler::RendererScheduler* scheduler =
- content::RenderThreadImpl::current()->GetRendererScheduler();
- scheduler::RunIdleTasksForTesting(scheduler, callback);
+ blink::scheduler::RendererScheduler* scheduler =
+ content::RenderThreadImpl::current()->GetRendererScheduler();
+ blink::scheduler::RunIdleTasksForTesting(scheduler, callback);
}
} // namespace content
« no previous file with comments | « content/test/fake_renderer_scheduler.cc ('k') | content/test/test_blink_web_unit_test_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698