Index: trunk/src/content/test/webkit_support.cc |
=================================================================== |
--- trunk/src/content/test/webkit_support.cc (revision 255866) |
+++ trunk/src/content/test/webkit_support.cc (working copy) |
@@ -18,6 +18,8 @@ |
#include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "url/url_util.h" |
+#include "webkit/common/user_agent/user_agent.h" |
+#include "webkit/common/user_agent/user_agent_util.h" |
#if defined(OS_ANDROID) |
#include "base/android/jni_android.h" |
@@ -108,6 +110,8 @@ |
// at same time. |
url_util::Initialize(); |
test_environment = new TestEnvironment; |
+ webkit_glue::SetUserAgent(webkit_glue::BuildUserAgentFromProduct( |
+ "DumpRenderTree/0.0.0.0")); |
} |
void TearDownTestEnvironment() { |