diff options
Diffstat (limited to 'content/browser')
-rw-r--r-- | content/browser/renderer_host/render_widget_host_unittest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc index b6b18c7..9ea7b11 100644 --- a/content/browser/renderer_host/render_widget_host_unittest.cc +++ b/content/browser/renderer_host/render_widget_host_unittest.cc @@ -25,6 +25,7 @@ #if defined(USE_AURA) #include "content/browser/renderer_host/render_widget_host_view_aura.h" +#include "ui/aura/env.h" #endif using base::TimeDelta; @@ -310,6 +311,10 @@ class RenderWidgetHostTest : public testing::Test { process_ = NULL; browser_context_.reset(); +#if defined(USE_AURA) + aura::Env::DeleteInstance(); +#endif + // Process all pending tasks to avoid leaks. MessageLoop::current()->RunAllPending(); } |