Commit 82ed2a35 authored by eugenebut's avatar eugenebut Committed by Commit bot

[ios] Cleanup resource bundle in WebTestSuite::Shutdown.

BUG=None

Review-Url: https://codereview.chromium.org/2037763002
Cr-Commit-Position: refs/heads/master@{#397881}
parent b89811bd
...@@ -17,7 +17,9 @@ class WebTestSuite : public base::TestSuite { ...@@ -17,7 +17,9 @@ class WebTestSuite : public base::TestSuite {
~WebTestSuite() override; ~WebTestSuite() override;
protected: protected:
// base::TestSuite overrides.
void Initialize() override; void Initialize() override;
void Shutdown() override;
private: private:
// Sets web client on construction and restores the original on destruction. // Sets web client on construction and restores the original on destruction.
......
...@@ -58,4 +58,9 @@ void WebTestSuite::Initialize() { ...@@ -58,4 +58,9 @@ void WebTestSuite::Initialize() {
resources_pack_path, ui::SCALE_FACTOR_NONE); resources_pack_path, ui::SCALE_FACTOR_NONE);
} }
void WebTestSuite::Shutdown() {
ResourceBundle::CleanupSharedInstance();
base::TestSuite::Shutdown();
}
} // namespace web } // namespace web
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