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

Unified Diff: content/renderer/mus/compositor_mus_connection_unittest.cc

Issue 2447143003: Use kRenderClientId command line flag when starting a render process (Closed)
Patch Set: Removed unnecessary additions Created 4 years, 2 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
Index: content/renderer/mus/compositor_mus_connection_unittest.cc
diff --git a/content/renderer/mus/compositor_mus_connection_unittest.cc b/content/renderer/mus/compositor_mus_connection_unittest.cc
index 236bbe33ec41afefe67b3bdd75b784280037a143..d3b345a64b7326235f6f30d596add0ca598b4658 100644
--- a/content/renderer/mus/compositor_mus_connection_unittest.cc
+++ b/content/renderer/mus/compositor_mus_connection_unittest.cc
@@ -33,6 +33,8 @@ using ui::mojom::EventResult;
namespace {
+constexpr cc::FrameSinkId kArbitraryFrameSinkId(0, 1);
+
// Wrapper for the callback provided to
// CompositorMusConnection:OnWindowInputEvent. This tracks whether the it was
// called, along with the result.
@@ -155,6 +157,7 @@ class TestRenderWidget : public content::RenderWidget {
: content::RenderWidget(compositor_deps,
blink::WebPopupTypeNone,
content::ScreenInfo(),
+ kArbitraryFrameSinkId,
true,
false,
false) {}

Powered by Google App Engine
This is Rietveld 408576698