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

Unified Diff: sky/shell/testing/test_runner.cc

Issue 1222663003: Rename ViewportObserver to SkyEngine (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: now with moar files Created 5 years, 6 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 | « sky/shell/testing/test_runner.h ('k') | sky/shell/ui/engine.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/shell/testing/test_runner.cc
diff --git a/sky/shell/testing/test_runner.cc b/sky/shell/testing/test_runner.cc
index 704e855888f9c5a52e58eed81cefcd86caab3d60..80c64531a3040b78cc644b29eaff59d6da2d70bc 100644
--- a/sky/shell/testing/test_runner.cc
+++ b/sky/shell/testing/test_runner.cc
@@ -60,8 +60,8 @@ TestRunner::TestRunner()
weak_ptr_factory_(this) {
CHECK(!g_test_runner) << "Only create one TestRunner.";
- shell_view_->view()->ConnectToViewportObserver(GetProxy(&viewport_observer_));
- viewport_observer_->OnViewportMetricsChanged(320, 640, 1.0);
+ shell_view_->view()->ConnectToEngine(GetProxy(&sky_engine_));
+ sky_engine_->OnViewportMetricsChanged(320, 640, 1.0);
}
TestRunner::~TestRunner() {
@@ -121,7 +121,7 @@ void TestRunner::Run() {
if (StartsWithASCII(data.url, kFileUrlPrefix, true))
ReplaceFirstSubstringAfterOffset(&data.url, 0, kFileUrlPrefix, "");
- viewport_observer_->RunFromFile(data.url, package_root_);
+ sky_engine_->RunFromFile(data.url, package_root_);
}
} // namespace shell
« no previous file with comments | « sky/shell/testing/test_runner.h ('k') | sky/shell/ui/engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698