Index: chrome/browser/translate/translate_manager_browsertest.cc |
=================================================================== |
--- chrome/browser/translate/translate_manager_browsertest.cc (revision 140247) |
+++ chrome/browser/translate/translate_manager_browsertest.cc (working copy) |
@@ -36,7 +36,7 @@ |
#include "content/public/browser/web_contents.h" |
#include "content/public/test/mock_notification_observer.h" |
#include "content/public/test/mock_render_process_host.h" |
-#include "content/test/render_view_test.h" |
+#include "content/public/test/render_view_test.h" |
#include "content/test/test_browser_thread.h" |
#include "content/test/test_renderer_host.h" |
#include "content/test/test_renderer_host.h" |
@@ -167,7 +167,7 @@ |
protected: |
virtual void SetUp() { |
- WebKit::initialize(&webkit_platform_support_); |
+ WebKit::initialize(webkit_platform_support_.Get()); |
// Access the TranslateManager singleton so it is created before we call |
// TabContentsWrapperTestHarness::SetUp() to match what's done in Chrome, |
// where the TranslateManager is created before the WebContents. This |