summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/common/logging.h
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/common/logging.h')
-rw-r--r--gpu/command_buffer/common/logging.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/gpu/command_buffer/common/logging.h b/gpu/command_buffer/common/logging.h
index c94bc7a..6142335 100644
--- a/gpu/command_buffer/common/logging.h
+++ b/gpu/command_buffer/common/logging.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -128,7 +128,9 @@ class Logger {
}
private:
- Logger(const Logger& logger): condition_(logger.condition_) {
+ Logger(const Logger& logger)
+ : condition_(logger.condition_),
+ level_(logger.level_) {
}
bool condition_;