summaryrefslogtreecommitdiffstats
path: root/base/field_trial.h
diff options
context:
space:
mode:
Diffstat (limited to 'base/field_trial.h')
-rw-r--r--base/field_trial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/base/field_trial.h b/base/field_trial.h
index 0779981..1248e83 100644
--- a/base/field_trial.h
+++ b/base/field_trial.h
@@ -116,6 +116,10 @@ class FieldTrial : public base::RefCounted<FieldTrial> {
const std::string& trial_name);
private:
+ friend class base::RefCounted<FieldTrial>;
+
+ ~FieldTrial() {}
+
// The name of the field trial, as can be found via the FieldTrialList.
// This is empty of the trial is not in the experiment.
const std::string name_;