fixup! [wayland] Webcursor for wayland
authory0.kim <y0.kim@samsung.com>
Thu, 7 Jan 2016 06:35:58 +0000 (15:35 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
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>
tizen_src/chromium_impl/content/common/cursors/webcursor_efl.cc
tizen_src/chromium_impl/content/common/cursors/webcursor_efl.h

index 6c411a6..c04e9a0 100644 (file)
@@ -12,7 +12,7 @@
 using namespace blink;
 
 #if defined(USE_WAYLAND)
-char* GetCursorName(int type) {
+const char* GetCursorName(int type) {
   switch (type) {
     case WebCursorInfo::TypePointer:
       return "left_ptr";
index 2b50f4f..c6a5ea1 100644 (file)
@@ -6,7 +6,7 @@
 #define WEBCURSOR_EFL_H
 
 #if defined(USE_WAYLAND)
-char* GetCursorName(int type);
+const char* GetCursorName(int type);
 #else
 int GetCursorType(int type);
 #endif