Disable TIZEN_WEBKIT2_CONTEXT_X_WINDOW under Wayland. 15/5415/2
authorJoone Hur <joone.hur@intel.com>
Tue, 2 Jul 2013 22:29:47 +0000 (15:29 -0700)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Mon, 8 Jul 2013 21:51:41 +0000 (14:51 -0700)
We do not need to share x-window ID between the UIProcess and WebPorcess.
This feature was added to access x-window ID from the WebProcess in order to get window's orientation.

Source/WTF/wtf/Platform.h

index 2332a41..ea1a927 100644 (file)
@@ -674,7 +674,11 @@ com) : Patch to do not adjust cover rect as fixed pixel size*/
 #define ENABLE_TIZEN_WEBKIT2_HISTORICAL_RESTORE_VISIBLE_CONTENT_RECT 1 /* Changhyup Jwa(ch.jwa@samsung.com) : Restore visible content rect on going back and forward */
 #endif
 #define ENABLE_TIZEN_WEBKIT2_MEMORY_SAVING_MODE 1 /*Eunsol Park(eunsol47.park@samsung.com) : Used for lower memory usage profiling*/
+
+#ifdef HAVE_ECORE_X
 #define ENABLE_TIZEN_WEBKIT2_CONTEXT_X_WINDOW 1 /* Changhyup Jwa(ch.jwa@samsung.com) : WebProcess cannot access to evas, so it needs to obtain window id to get window's orientation. Default root window has sync issue. */
+#endif
+
 #define ENABLE_TIZEN_WEBKIT2_FOR_MOVING_TEXT_SELECTION_HANDLE_FROM_OSP 1 /* Yuni Jeong(yhnet.jung@samsung.com) : Patchs for moving text selection handle from OSP */
 #endif /* ENABLE(TIZEN_WEBKIT2) */