Guard the Mac specific code with macro.
Created attachment 234732 [details] Patch
Comment on attachment 234732 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=234732&action=review r+ from me for the view snapshot part, but the OpenGL part seems sufficiently platform agnostic, I'm not sure why this is needed > Source/WebKit2/Shared/SessionState.h:31 > +#if PLATFORM(COCOA) > #include "ViewSnapshotStore.h" > +#endif This needs to go in its own block, below the rest of the includes, with a empty line separating it from the others.
Created attachment 234734 [details] Patch Applied Tim's comment but waiting review for OpenGL part.
view snapshot part is fixed by r170989 by Carlos. So I fixed OpenGL part by implementing dummy method in EFL port. (r170990)