Index: components/dom_distiller/core/distiller_unittest.cc |
diff --git a/components/dom_distiller/core/distiller_unittest.cc b/components/dom_distiller/core/distiller_unittest.cc |
index e57510997c2080216e233f19821c60c0abb2a207..e3378be4f8f59a27a035a428871664138fb6f59d 100644 |
--- a/components/dom_distiller/core/distiller_unittest.cc |
+++ b/components/dom_distiller/core/distiller_unittest.cc |
@@ -12,7 +12,6 @@ |
#include "base/location.h" |
#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop.h" |
-#include "base/path_service.h" |
#include "base/strings/string_number_conversions.h" |
#include "base/values.h" |
#include "components/dom_distiller/core/article_distillation_update.h" |
@@ -26,7 +25,6 @@ |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/dom_distiller_js/dom_distiller.pb.h" |
#include "third_party/dom_distiller_js/dom_distiller_json_converter.h" |
-#include "ui/base/resource/resource_bundle.h" |
using std::vector; |
using std::string; |
@@ -187,15 +185,6 @@ void VerifyArticleProtoMatchesMultipageData( |
} |
} |
-void AddComponentsResources() { |
- base::FilePath pak_file; |
- base::FilePath pak_dir; |
- PathService::Get(base::DIR_MODULE, &pak_dir); |
- pak_file = pak_dir.Append(FILE_PATH_LITERAL("components_resources.pak")); |
- ui::ResourceBundle::GetSharedInstance().AddDataPackFromPath( |
- pak_file, ui::SCALE_FACTOR_NONE); |
-} |
- |
} // namespace |
namespace dom_distiller { |
@@ -257,10 +246,6 @@ class DistillerTest : public testing::Test { |
public: |
virtual ~DistillerTest() {} |
- virtual void SetUp() OVERRIDE { |
- AddComponentsResources(); |
- } |
- |
void OnDistillArticleDone(scoped_ptr<DistilledArticleProto> proto) { |
article_proto_ = proto.Pass(); |
} |