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

Unified Diff: gin/v8_platform.cc

Issue 2691393002: Fix auto raw pointer deduction on linux (Closed)
Patch Set: rebase 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 4fe7c7ceced0d5f4d164ea14c548aca3aba0b1d6..276dd77c9d64f2dd941b9613839f1941a041d326 100644
--- a/gin/v8_platform.cc
+++ b/gin/v8_platform.cc
@@ -204,14 +204,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