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..7dafbd4daba6b06f8df20395d4288845b7bbd7ee 100644 |
--- a/components/dom_distiller/core/distiller_unittest.cc |
+++ b/components/dom_distiller/core/distiller_unittest.cc |
@@ -26,7 +26,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 +186,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 +247,6 @@ class DistillerTest : public testing::Test { |
public: |
virtual ~DistillerTest() {} |
- virtual void SetUp() OVERRIDE { |
- AddComponentsResources(); |
- } |
- |
void OnDistillArticleDone(scoped_ptr<DistilledArticleProto> proto) { |
article_proto_ = proto.Pass(); |
} |