Index: ios/web_view/internal/criwv_web_client.mm |
diff --git a/ios/web_view/internal/criwv_web_client.mm b/ios/web_view/internal/criwv_web_client.mm |
index 87bef98599b614041b8056d58c94bf44baf21277..ede57cb400e93fe71ad28e88ebf2cbcb2edba47b 100644 |
--- a/ios/web_view/internal/criwv_web_client.mm |
+++ b/ios/web_view/internal/criwv_web_client.mm |
@@ -38,7 +38,7 @@ |
return base::SysNSStringToUTF8([delegate_ partialUserAgent]); |
} |
-std::string CRIWVWebClient::GetUserAgent(bool desktop_user_agent) const { |
+std::string CRIWVWebClient::GetUserAgent(web::UserAgentType type) const { |
std::string product = GetProduct(); |
return web::BuildUserAgentFromProduct(product); |
} |