Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / policy / policy_prefs_browsertest.cc
index dff2f90..4b75f36 100644 (file)
@@ -460,6 +460,10 @@ class PolicyPrefsTest : public InProcessBrowserTest {
         TemplateURLServiceFactory::GetForProfile(browser()->profile()));
   }
 
+  virtual void TearDownOnMainThread() OVERRIDE {
+    ClearProviderPolicy();
+  }
+
   void ClearProviderPolicy() {
     provider_.UpdateChromePolicy(PolicyMap());
     base::RunLoop().RunUntilIdle();