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

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

Issue 2762173002: Content test launcher: Initialize globals to nullptr (Closed)
Patch Set: Created 3 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_launcher.cc
diff --git a/content/public/test/test_launcher.cc b/content/public/test/test_launcher.cc
index 1c615f532fd0d22a5570bcc59b21b1df3623fb41..ee92682c3b726d11697ee3f72e674da5f8c5e326 100644
--- a/content/public/test/test_launcher.cc
+++ b/content/public/test/test_launcher.cc
@@ -68,8 +68,8 @@ const char kPreTestPrefix[] = "PRE_";
// add a new binary that must be compiled on all builds.
const char kManualTestPrefix[] = "MANUAL_";
-TestLauncherDelegate* g_launcher_delegate;
-ContentMainParams* g_params;
+TestLauncherDelegate* g_launcher_delegate = nullptr;
+ContentMainParams* g_params = nullptr;
std::string RemoveAnyPrePrefixes(const std::string& test_name) {
std::string result(test_name);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698