| 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 047e620801a0f86182f75f24c39abbd7a3f730cd..c5a5769cdb067b40400320637e1c8fb5faaa641d 100644
|
| --- a/content/browser/renderer_host/render_widget_host_unittest.cc
|
| +++ b/content/browser/renderer_host/render_widget_host_unittest.cc
|
| @@ -6,17 +6,17 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/shared_memory.h"
|
| #include "base/timer.h"
|
| -#include "content/browser/browser_thread.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"
|
| +#include "content/public/browser/content_browser_client.h"
|
| #include "content/public/browser/notification_details.h"
|
| #include "content/public/browser/notification_observer.h"
|
| #include "content/public/browser/notification_registrar.h"
|
| #include "content/public/browser/notification_source.h"
|
| #include "content/public/browser/notification_types.h"
|
| -#include "content/public/browser/content_browser_client.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"
|
| @@ -527,7 +527,8 @@ 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) {
|
| - BrowserThread ui_thread(BrowserThread::UI, MessageLoop::current());
|
| + content::TestBrowserThread 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();
|
|
|