Index: chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc |
diff --git a/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc b/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc |
index bd4dc21ea6a9d3703d73525b09c84e356b6f3bd8..fa856e4399b4cbfa4d901dbd960338b77e14b32d 100644 |
--- a/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc |
+++ b/chrome/browser/ui/views/translate/translate_bubble_view_browsertest.cc |
@@ -8,6 +8,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "chrome/browser/chrome_notification_types.h" |
#include "chrome/browser/translate/cld_data_harness.h" |
+#include "chrome/browser/translate/cld_data_harness_factory.h" |
#include "chrome/browser/ui/browser.h" |
#include "chrome/browser/ui/browser_commands.h" |
#include "chrome/browser/ui/browser_tabstrip.h" |
@@ -20,8 +21,9 @@ |
class TranslateBubbleViewBrowserTest : public InProcessBrowserTest { |
public: |
- TranslateBubbleViewBrowserTest() |
- : cld_data_harness(test::CreateCldDataHarness()) {} |
+ TranslateBubbleViewBrowserTest(): |
+ cld_data_harness( |
+ test::CldDataHarnessFactory::Get()->CreateCldDataHarness()) {} |
~TranslateBubbleViewBrowserTest() override {} |
void SetUpOnMainThread() override { |
// We can't Init() until PathService has been initialized. This happens |