Skip to content

Commit 94ed263

Browse files
committed
Core - Update CefSettingsBase.ProductVersion
Change to use the user_agent_product property, as this is a breaking change and the `90-pre` release has already happened wait we won't rename the property until version 91 https://bitbucket.org/chromiumembedded/cef/commits/02ae4597d8b6c895e46891a7596cf5fa1fe15df8#Linclude/internal/cef_types.hT309 Issue #3530
1 parent 4a0fb32 commit 94ed263

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CefSharp.Core.Runtime/CefSettingsBase.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -277,13 +277,13 @@ namespace CefSharp
277277

278278
/// <summary>
279279
/// Value that will be inserted as the product portion of the default User-Agent string. If empty the Chromium product version
280-
/// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "product-version" command-
280+
/// will be used. If UserAgent is specified this value will be ignored. Also configurable using the "user-agent-product" command-
281281
/// line switch.
282282
/// </summary>
283283
property String^ ProductVersion
284284
{
285-
String^ get() { return StringUtils::ToClr(_cefSettings->product_version); }
286-
void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->product_version, value); }
285+
String^ get() { return StringUtils::ToClr(_cefSettings->user_agent_product); }
286+
void set(String^ value) { StringUtils::AssignNativeFromClr(_cefSettings->user_agent_product, value); }
287287
}
288288

289289
/// <summary>

0 commit comments

Comments
 (0)