Index: ui/views/test/views_test_base.h |
diff --git a/ui/views/test/views_test_base.h b/ui/views/test/views_test_base.h |
index f689ea085381b387142c8dd35ae605ba3864c1b0..0bfa9e505cdd94411ae679b7468aa2ebfb9f0d8b 100644 |
--- a/ui/views/test/views_test_base.h |
+++ b/ui/views/test/views_test_base.h |
@@ -5,6 +5,7 @@ |
#ifndef UI_VIEWS_TEST_VIEWS_TEST_BASE_H_ |
#define UI_VIEWS_TEST_VIEWS_TEST_BASE_H_ |
+#include "base/at_exit.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop.h" |
#include "testing/gtest/include/gtest/gtest.h" |
@@ -49,6 +50,7 @@ class ViewsTestBase : public testing::Test { |
gfx::NativeView GetContext(); |
private: |
+ base::ShadowingAtExitManager at_exit_; |
base::MessageLoopForUI message_loop_; |
scoped_ptr<TestViewsDelegate> views_delegate_; |
scoped_ptr<ViewsTestHelper> test_helper_; |