| Index: content/browser/android/content_view_core_impl.cc
|
| diff --git a/content/browser/android/content_view_core_impl.cc b/content/browser/android/content_view_core_impl.cc
|
| index 3452b26e4bb65034c8d8ec8b13b33e09dc7dce50..35b35ffc979cd79ec0cb3e591210ef853826a040 100644
|
| --- a/content/browser/android/content_view_core_impl.cc
|
| +++ b/content/browser/android/content_view_core_impl.cc
|
| @@ -50,6 +50,7 @@
|
| #include "content/public/common/content_switches.h"
|
| #include "content/public/common/menu_item.h"
|
| #include "content/public/common/page_transition_types.h"
|
| +#include "content/public/common/user_agent_util.h"
|
| #include "jni/ContentViewCore_jni.h"
|
| #include "third_party/WebKit/public/web/WebBindings.h"
|
| #include "third_party/WebKit/public/web/WebInputEvent.h"
|
| @@ -59,7 +60,6 @@
|
| #include "ui/gfx/screen.h"
|
| #include "ui/gfx/size_conversions.h"
|
| #include "ui/gfx/size_f.h"
|
| -#include "webkit/common/user_agent/user_agent_util.h"
|
|
|
| using base::android::AttachCurrentThread;
|
| using base::android::ConvertJavaStringToUTF16;
|
| @@ -241,7 +241,7 @@ ContentViewCoreImpl::ContentViewCoreImpl(JNIEnv* env,
|
| const char kLinuxInfoStr[] = "X11; Linux x86_64";
|
| std::string product = content::GetContentClient()->GetProduct();
|
| std::string spoofed_ua =
|
| - webkit_glue::BuildUserAgentFromOSAndProduct(kLinuxInfoStr, product);
|
| + BuildUserAgentFromOSAndProduct(kLinuxInfoStr, product);
|
| web_contents->SetUserAgentOverride(spoofed_ua);
|
|
|
| InitWebContents();
|
|
|