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

Unified Diff: content/test/layouttest_support.cc

Issue 2493293002: RenderWidget: make routing_id be a parameter of the ctor (Closed)
Patch Set: Add a release for asan bots. Created 4 years, 1 month 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/renderer/render_widget_unittest.cc ('k') | no next file » | 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 b3f8f1a6c6fe9a2717e2d0932c97d81e7286834c..58614e6c86f9a057f0935b5d652b942ecce6412e 100644
--- a/content/test/layouttest_support.cc
+++ b/content/test/layouttest_support.cc
@@ -89,6 +89,7 @@ using WebViewTestProxyType =
const mojom::CreateViewParams&>;
using WebWidgetTestProxyType =
test_runner::WebWidgetTestProxy<RenderWidget,
+ int32_t,
CompositorDependencies*,
blink::WebPopupType,
const ScreenInfo&,
@@ -109,15 +110,16 @@ RenderViewImpl* CreateWebViewTestProxy(CompositorDependencies* compositor_deps,
return render_view_proxy;
}
-RenderWidget* CreateWebWidgetTestProxy(CompositorDependencies* compositor_deps,
+RenderWidget* CreateWebWidgetTestProxy(int32_t routing_id,
+ CompositorDependencies* compositor_deps,
blink::WebPopupType popup_type,
const ScreenInfo& screen_info,
bool swapped_out,
bool hidden,
bool never_visible) {
- WebWidgetTestProxyType* render_widget_proxy =
- new WebWidgetTestProxyType(compositor_deps, popup_type, screen_info,
- swapped_out, hidden, never_visible);
+ WebWidgetTestProxyType* render_widget_proxy = new WebWidgetTestProxyType(
+ routing_id, compositor_deps, popup_type, screen_info, swapped_out, hidden,
+ never_visible);
return render_widget_proxy;
}
« no previous file with comments | « content/renderer/render_widget_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698