Blame webkitgtk-2.7.90-user-agent-branding.patch

Michael Catanzaro 3920853
From 050232bc122d6785fea01d39121c2f93e8dd16f1 Mon Sep 17 00:00:00 2001
Michael Catanzaro 3920853
From: Michael Catanzaro <mcatanzaro@igalia.com>
Michael Catanzaro 3920853
Date: Thu, 26 Feb 2015 16:06:36 -0600
Michael Catanzaro 3920853
Subject: [PATCH] Allow branding the user agent
Michael Catanzaro 3920853
Michael Catanzaro 3920853
---
Michael Catanzaro 3920853
 Source/WebCore/platform/gtk/UserAgentGtk.cpp | 4 +++-
Michael Catanzaro 3920853
 1 file changed, 3 insertions(+), 1 deletion(-)
Michael Catanzaro 3920853
Michael Catanzaro 3920853
diff --git a/Source/WebCore/platform/gtk/UserAgentGtk.cpp b/Source/WebCore/platform/gtk/UserAgentGtk.cpp
Michael Catanzaro 3920853
index 91641dc..727fbaf 100644
Michael Catanzaro 3920853
--- a/Source/WebCore/platform/gtk/UserAgentGtk.cpp
Michael Catanzaro 3920853
+++ b/Source/WebCore/platform/gtk/UserAgentGtk.cpp
Michael Catanzaro 3920853
@@ -84,7 +84,9 @@ static const char* cpuDescriptionForUAString()
Michael Catanzaro 3920853
 
Michael Catanzaro 3920853
 static const char* platformForUAString()
Michael Catanzaro 3920853
 {
Michael Catanzaro 3920853
-#if PLATFORM(X11)
Michael Catanzaro 3920853
+#if defined USER_AGENT_GTK_DISTRIBUTOR_NAME
Michael Catanzaro 3920853
+    return USER_AGENT_GTK_DISTRIBUTOR_NAME;
Michael Catanzaro 3920853
+#elif PLATFORM(X11)
Michael Catanzaro 3920853
     return "X11";
Michael Catanzaro 3920853
 #elif OS(WINDOWS)
Michael Catanzaro 3920853
     return "";
Michael Catanzaro 3920853
-- 
Michael Catanzaro 3920853
2.1.0
Michael Catanzaro 3920853