Fix warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15496
Reviewed by: sns.park
Change-Id: I7fc56ea91c46ff39d7259f51d230d99e5dcf0e93
Signed-off-by: y0.kim <y0.kim@samsung.com>
using namespace blink;
#if defined(USE_WAYLAND)
-char* GetCursorName(int type) {
+const char* GetCursorName(int type) {
switch (type) {
case WebCursorInfo::TypePointer:
return "left_ptr";
#define WEBCURSOR_EFL_H
#if defined(USE_WAYLAND)
-char* GetCursorName(int type);
+const char* GetCursorName(int type);
#else
int GetCursorType(int type);
#endif