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

Unified Diff: device/generic_sensor/platform_sensor_and_provider_unittest_win.cc

Issue 2792383003: Rename ScopedComPtr::Release() to ScopedComPtr::Reset() (Closed)
Patch Set: Fix New Callers Created 3 years, 8 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: device/generic_sensor/platform_sensor_and_provider_unittest_win.cc
diff --git a/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc b/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc
index da2f96381a0598f022b8bf895488cf99d709d9ae..2913d65b83ef14ee9fd7ff1984e410d261fd6ee9 100644
--- a/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc
+++ b/device/generic_sensor/platform_sensor_and_provider_unittest_win.cc
@@ -291,7 +291,7 @@ class PlatformSensorAndProviderTestWin : public ::testing::Test {
// longer interested in sensor events and ISensorEvents can be released.
ON_CALL(*sensor_, SetEventSink(IsNull()))
.WillByDefault(Invoke([this](ISensorEvents* events) {
- sensor_events_.Release();
+ sensor_events_.Reset();
if (this->run_loop_) {
message_loop_.task_runner()->PostTask(
FROM_HERE,

Powered by Google App Engine
This is Rietveld 408576698