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

Unified Diff: base/memory/memory_pressure_listener.cc

Issue 2691573003: base: Remove auto raw pointer deduction. (Closed)
Patch Set: 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: base/memory/memory_pressure_listener.cc
diff --git a/base/memory/memory_pressure_listener.cc b/base/memory/memory_pressure_listener.cc
index a421c18b6b7e76234d67a6ccd90ec4f20d683da4..c89ce3a469ba6b9701cb46d24d5e5eb46301b61f 100644
--- a/base/memory/memory_pressure_listener.cc
+++ b/base/memory/memory_pressure_listener.cc
@@ -51,7 +51,7 @@ class MemoryPressureObserver {
};
MemoryPressureObserver* GetMemoryPressureObserver() {
- static auto observer = new MemoryPressureObserver();
+ static auto* observer = new MemoryPressureObserver();
return observer;
}

Powered by Google App Engine
This is Rietveld 408576698