blob: 3da8ba1f1a03e6c23edb26c1030b1b26c4293b36 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
--- components/paint_preview/browser/paint_preview_client.cc.orig 2024-10-16 21:31:11 UTC
+++ components/paint_preview/browser/paint_preview_client.cc
@@ -326,8 +326,8 @@ void PaintPreviewClient::CapturePaintPreview(
metadata->set_version(kPaintPreviewVersion);
auto* chromeVersion = metadata->mutable_chrome_version();
const auto& current_chrome_version = version_info::GetVersion();
- chromeVersion->set_major(current_chrome_version.components()[0]);
- chromeVersion->set_minor(current_chrome_version.components()[1]);
+ chromeVersion->set_gmajor(current_chrome_version.components()[0]);
+ chromeVersion->set_gminor(current_chrome_version.components()[1]);
chromeVersion->set_build(current_chrome_version.components()[2]);
chromeVersion->set_patch(current_chrome_version.components()[3]);
document_data.callback = std::move(callback);
|