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

Unified Diff: components/test_runner/web_frame_test_client.h

Issue 2349063002: Using the correct WebTestDelegate from WebFrameTestClient.
Patch Set: Created 4 years, 3 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 | « no previous file | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_frame_test_client.h
diff --git a/components/test_runner/web_frame_test_client.h b/components/test_runner/web_frame_test_client.h
index c0d8e46ae0ea940c9b4ea8ea6986055fdab09f14..7408cc7703711069a9ee8dc8414ca97772fed3da 100644
--- a/components/test_runner/web_frame_test_client.h
+++ b/components/test_runner/web_frame_test_client.h
@@ -28,7 +28,6 @@ class WebFrameTestClient : public blink::WebFrameClient {
// Caller has to ensure that all arguments (|test_runner|, |delegate| and so
// forth) live longer than |this|.
WebFrameTestClient(TestRunner* test_runner,
- WebTestDelegate* delegate,
WebViewTestProxyBase* web_view_test_proxy_base,
WebFrameTestProxyBase* web_frame_test_proxy_base);
@@ -107,9 +106,10 @@ class WebFrameTestClient : public blink::WebFrameClient {
blink::WebFileChooserCompletion* completion) override;
private:
+ WebTestDelegate* delegate();
+
// Borrowed pointers to other parts of Layout Tests state.
TestRunner* test_runner_;
- WebTestDelegate* delegate_;
WebViewTestProxyBase* web_view_test_proxy_base_;
WebFrameTestProxyBase* web_frame_test_proxy_base_;
« no previous file with comments | « no previous file | components/test_runner/web_frame_test_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698