Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4773)

Unified Diff: chrome/installer/util/wmi.cc

Issue 985853005: base: Remove operator& from ScopedVariant and ScopedPropVariant. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: scoped-operator: prop-ptr Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/installer/util/wmi.cc
diff --git a/chrome/installer/util/wmi.cc b/chrome/installer/util/wmi.cc
index aef51a015b009f8c3a27eace5b455e48bcc1e0ac..6fffb79208b7117571c712fadaee52222c3acff1 100644
--- a/chrome/installer/util/wmi.cc
+++ b/chrome/installer/util/wmi.cc
@@ -159,12 +159,12 @@ base::string16 WMIComputerSystem::GetModel() {
base::string16 model_string;
if (manufacturer.type() == VT_BSTR) {
- model_string = V_BSTR(&manufacturer);
+ model_string = V_BSTR(manufacturer.ptr());
if (model.type() == VT_BSTR)
model_string += L" ";
}
if (model.type() == VT_BSTR)
- model_string += V_BSTR(&model);
+ model_string += V_BSTR(model.ptr());
return model_string;
}

Powered by Google App Engine
This is Rietveld 408576698