Commit b082f7ed authored by Noel Gordon's avatar Noel Gordon Committed by Commit Bot

Chromium Rule: ScopedTempDir should always be destroyed last

Many tear-down can occur if this is not the case: bug references can be
for the curious.

Tbr: slangley, yamaguchi
No-Presubmit: true
Bug: 833834
Change-Id: I5e795f7ef5b5e28af4050c9506640d8f6df8941a
Reviewed-on: https://chromium-review.googlesource.com/1038983Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: Noel Gordon <noel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#555284}
parent 5318ec14
...@@ -258,9 +258,9 @@ class TestVolume { ...@@ -258,9 +258,9 @@ class TestVolume {
} }
private: private:
std::string name_;
base::ScopedTempDir root_; base::ScopedTempDir root_;
bool root_initialized_ = false; bool root_initialized_ = false;
std::string name_;
}; };
} // anonymous namespace } // anonymous namespace
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment