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

Unified Diff: components/test_runner/test_interfaces.cc

Issue 1889673002: Move LayoutAndPaintAsyncThen to a separate compilation unit. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 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 | « components/test_runner/layout_and_paint_async_then.cc ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/test_interfaces.cc
diff --git a/components/test_runner/test_interfaces.cc b/components/test_runner/test_interfaces.cc
index 3e7d65f156b1efa3bde31db06c8089a5e78e96ae..a12cc49b696c80f1f669e137d730acfee76516ce 100644
--- a/components/test_runner/test_interfaces.cc
+++ b/components/test_runner/test_interfaces.cc
@@ -43,17 +43,17 @@ TestInterfaces::TestInterfaces()
}
TestInterfaces::~TestInterfaces() {
- accessibility_controller_->SetWebView(0);
- event_sender_->SetWebView(0);
+ accessibility_controller_->SetWebView(nullptr);
+ event_sender_->SetWebView(nullptr);
// gamepad_controller_ doesn't depend on WebView.
- text_input_controller_->SetWebView(NULL);
- test_runner_->SetWebView(0, 0);
+ text_input_controller_->SetWebView(nullptr);
+ test_runner_->SetWebView(nullptr);
- accessibility_controller_->SetDelegate(0);
- event_sender_->SetDelegate(0);
- // gamepad_controller_ ignores SetDelegate(0)
+ accessibility_controller_->SetDelegate(nullptr);
+ event_sender_->SetDelegate(nullptr);
+ // gamepad_controller_ ignores SetDelegate(nullptr)
// text_input_controller_ doesn't depend on WebTestDelegate.
- test_runner_->SetDelegate(0);
+ test_runner_->SetDelegate(nullptr);
}
void TestInterfaces::SetWebView(blink::WebView* web_view,
@@ -62,7 +62,7 @@ void TestInterfaces::SetWebView(blink::WebView* web_view,
event_sender_->SetWebView(web_view);
// gamepad_controller_ doesn't depend on WebView.
text_input_controller_->SetWebView(web_view);
- test_runner_->SetWebView(web_view, proxy);
+ test_runner_->SetWebView(web_view);
}
void TestInterfaces::SetDelegate(WebTestDelegate* delegate) {
« no previous file with comments | « components/test_runner/layout_and_paint_async_then.cc ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698