Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / cc / test / cc_test_suite.cc
index 4fa6565..abe61cb 100644 (file)
@@ -4,13 +4,10 @@
 
 #include "cc/test/cc_test_suite.h"
 
-#include <string>
-
-#include "base/command_line.h"
 #include "base/message_loop/message_loop.h"
 #include "base/threading/thread_id_name_manager.h"
-#include "cc/base/switches.h"
 #include "cc/test/paths.h"
+#include "ui/gl/gl_surface.h"
 
 namespace cc {
 
@@ -21,7 +18,8 @@ CCTestSuite::~CCTestSuite() {}
 
 void CCTestSuite::Initialize() {
   base::TestSuite::Initialize();
-  RegisterPathProvider();
+  gfx::GLSurface::InitializeOneOffForTests();
+  CCPaths::RegisterPathProvider();
 
   message_loop_.reset(new base::MessageLoop);