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

Unified Diff: src/log.h

Issue 53089: Fixed test memory leaks (Closed)
Patch Set: Created 11 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: src/log.h
diff --git a/src/log.h b/src/log.h
index d238f9bece7dc6eda5cc993b1b7111080c1b270f..8573d7169f1a41013cc56a01c166c4b6716ce708 100644
--- a/src/log.h
+++ b/src/log.h
@@ -83,7 +83,7 @@ class LogMessageBuilder;
#endif
-class VMState {
+class VMState BASE_EMBEDDED {
#ifdef ENABLE_LOGGING_AND_PROFILING
public:
explicit VMState(StateTag state);
@@ -252,6 +252,9 @@ class Logger {
// A stack of VM states.
static VMState* current_state_;
+ // Singleton bottom or default vm state.
+ static VMState bottom_state_;
+
// SlidingStateWindow instance keeping a sliding window of the most
// recent VM states.
static SlidingStateWindow* sliding_state_window_;

Powered by Google App Engine
This is Rietveld 408576698