Index: content/browser/renderer_host/render_widget_host_unittest.cc |
diff --git a/content/browser/renderer_host/render_widget_host_unittest.cc b/content/browser/renderer_host/render_widget_host_unittest.cc |
index 3fc1e0090692404aea38f48723f63928b3a4db77..c38224f2737555904704ca815eeaa740f9f9aa28 100644 |
--- a/content/browser/renderer_host/render_widget_host_unittest.cc |
+++ b/content/browser/renderer_host/render_widget_host_unittest.cc |
@@ -6,6 +6,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/shared_memory.h" |
#include "base/timer.h" |
+#include "content/browser/browser_thread_impl.h" |
#include "content/browser/renderer_host/backing_store.h" |
#include "content/browser/renderer_host/test_render_view_host.h" |
#include "content/common/view_messages.h" |
@@ -16,13 +17,14 @@ |
#include "content/public/browser/notification_source.h" |
#include "content/public/browser/notification_types.h" |
#include "content/test/test_browser_context.h" |
-#include "content/test/test_browser_thread.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "ui/base/keycodes/keyboard_codes.h" |
#include "ui/gfx/canvas_skia.h" |
using base::TimeDelta; |
+using content::BrowserThreadImpl; |
+ |
using WebKit::WebInputEvent; |
using WebKit::WebMouseWheelEvent; |
@@ -527,8 +529,7 @@ TEST_F(RenderWidgetHostTest, GetBackingStore_RepaintAck) { |
// Test that we don't paint when we're hidden, but we still send the ACK. Most |
// of the rest of the painting is tested in the GetBackingStore* ones. |
TEST_F(RenderWidgetHostTest, HiddenPaint) { |
- content::TestBrowserThread ui_thread(BrowserThread::UI, |
- MessageLoop::current()); |
+ BrowserThreadImpl ui_thread(BrowserThread::UI, MessageLoop::current()); |
// Hide the widget, it should have sent out a message to the renderer. |
EXPECT_FALSE(host_->is_hidden_); |
host_->WasHidden(); |