~chromium-team/chromium-browser/artful-beta

« back to all changes in this revision

Viewing changes to debian/patches/chromium_useragent.patch.in

* Merge with chromium-browser.stable #583

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
---
2
 
 webkit/glue/webkit_glue.cc |    9 ++++++++-
 
2
 webkit/glue/user_agent.cc |    9 ++++++++-
3
3
 1 file changed, 8 insertions(+), 1 deletion(-)
4
4
 
5
 
Index: src/webkit/glue/webkit_glue.cc
 
5
Index: src/webkit/glue/user_agent.cc
6
6
===================================================================
7
 
--- src.orig/webkit/glue/webkit_glue.cc
8
 
+++ src/webkit/glue/webkit_glue.cc
9
 
@@ -409,27 +409,34 @@
 
7
--- src.orig/webkit/glue/user_agent.cc
 
8
+++ src/webkit/glue/user_agent.cc
 
9
@@ -94,26 +94,33 @@
10
10
   // TODO(port): figure out correct locale
11
11
   const char kUserAgentLocale[] = "en-US";
12
12
 
36
36
+      realproduct.c_str(),
37
37
       product.c_str(),
38
38
       WEBKIT_VERSION_MAJOR,
39
 
       WEBKIT_VERSION_MINOR
40
 
       );
 
39
       WEBKIT_VERSION_MINOR);
41
40
 }
42
41
 
43
 
 void SetUserAgentToDefault() {
44
 
   BuildUserAgent(false, &g_user_agent->user_agent);
 
42
 }  // namespace webkit_glue
 
43