Currently, PathEfl::Register is called from Shell::PlatformInitialize
But other non applications, like crosswalk will also need to Register
PathEfl. So with this patch, we call it from efl::Initialize
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=13152
Reviewed by: Antonio Gomes, SeungSeop Park
Change-Id: I50dd66ce4c8654168cca63ce63b3ed0e24717666
Signed-off-by: Arnaud Renevier <a.renevier@samsung.com>
#include "base/command_line.h"
#include "base/strings/utf_string_conversions.h"
-#include "content/common/paths_efl.h"
#include "content/public/browser/web_contents.h"
#include "content/public/common/content_switches.h"
#include "content/public/browser/render_view_host.h"
// static
void Shell::PlatformInitialize(const gfx::Size& default_window_size) {
elm_policy_set(ELM_POLICY_QUIT, ELM_POLICY_QUIT_LAST_WINDOW_CLOSED);
- PathsEfl::Register();
LOG(INFO) << "EFL Shell platform initialized";
}
#include "base/message_loop/message_loop.h"
#include "base/message_loop/message_pump_ecore.h"
#include "cc/base/switches.h"
+#include "content/common/paths_efl.h"
#include "content/public/common/content_switches.h"
#include "ui/gfx/screen_efl.h"
#include "ui/gfx/switches.h"
ui::OzonePlatform::InitializeForUI();
#endif
+ PathsEfl::Register();
+
return 0;
}