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

Unified Diff: gin/v8_platform.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: update Created 3 years, 10 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: gin/v8_platform.cc
diff --git a/gin/v8_platform.cc b/gin/v8_platform.cc
index 9c69aa97721e78c151e9c1e44866586d4e32006a..46de114898b476fe9ad2872dd86b38ead6b32556 100644
--- a/gin/v8_platform.cc
+++ b/gin/v8_platform.cc
@@ -201,14 +201,14 @@ class EnabledStateObserverImpl final
void OnTraceLogEnabled() final {
base::AutoLock lock(mutex_);
- for (auto o : observers_) {
+ for (auto* o : observers_) {
o->OnTraceEnabled();
}
}
void OnTraceLogDisabled() final {
base::AutoLock lock(mutex_);
- for (auto o : observers_) {
+ for (auto* o : observers_) {
o->OnTraceDisabled();
}
}

Powered by Google App Engine
This is Rietveld 408576698