Changeset 206513 in webkit
- Timestamp:
- Sep 28, 2016 5:54:50 AM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r206512 r206513 1 2016-09-28 Michael Catanzaro <mcatanzaro@igalia.com> 2 3 [GTK] Simplify platformForUAString 4 https://bugs.webkit.org/show_bug.cgi?id=162614 5 6 Reviewed by Carlos Garcia Campos. 7 8 Note in particular that the previous PLATFORM(MAC) check was wrong here, as that is never 9 true for GTK; this patch risks changing it to OS(MAC_OS_X), on the hope that advertising Mac 10 when running on Mac might not break anything. If it does, then we should remove it and just 11 always pretend to be on X11. 12 13 * platform/gtk/UserAgentGtk.cpp: 14 (WebCore::platformForUAString): 15 1 16 2016-09-28 Michael Catanzaro <mcatanzaro@igalia.com> 2 17 -
trunk/Source/WebCore/platform/gtk/UserAgentGtk.cpp
r206512 r206513 91 91 static const char* platformForUAString() 92 92 { 93 #if PLATFORM(X11) 93 #if OS(MAC_OS_X) 94 return "Macintosh"; 95 #else 94 96 return "X11"; 95 #elif OS(WINDOWS)96 return "";97 #elif PLATFORM(MAC)98 return "Macintosh";99 #elif defined(GDK_WINDOWING_DIRECTFB)100 return "DirectFB";101 #else102 return "Unknown";103 97 #endif 104 98 }
Note: See TracChangeset
for help on using the changeset viewer.