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

Unified Diff: content/public/test/render_view_test.cc

Issue 2530573002: Share field trial allocator on zygote-using Linuxes (Closed)
Patch Set: git rebase-update 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
Index: content/public/test/render_view_test.cc
diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
index ead3a91fb91a03313b43ec81c7a9812555586680..679d366ec917a15a775c6768f8b933f4b278af7c 100644
--- a/content/public/test/render_view_test.cc
+++ b/content/public/test/render_view_test.cc
@@ -25,6 +25,7 @@
#include "content/public/browser/content_browser_client.h"
#include "content/public/browser/native_web_keyboard_event.h"
#include "content/public/common/content_client.h"
+#include "content/public/common/content_descriptors.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/renderer_preferences.h"
#include "content/public/renderer/content_renderer_client.h"
@@ -273,7 +274,7 @@ void RenderViewTest::SetUp() {
command_line_.reset(new base::CommandLine(base::CommandLine::NO_PROGRAM));
field_trial_list_.reset(new base::FieldTrialList(nullptr));
base::FieldTrialList::CreateTrialsFromCommandLine(
- *command_line_, switches::kFieldTrialHandle);
+ *command_line_, switches::kFieldTrialHandle, kFieldTrialHandle);
params_.reset(new MainFunctionParams(*command_line_));
platform_.reset(new RendererMainPlatformDelegate(*params_));
platform_->PlatformInitialize();
« content/public/common/content_descriptors.h ('K') | « content/public/common/content_descriptors.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698