Index: base/location.cc |
diff --git a/base/location.cc b/base/location.cc |
index 8b32b9785ba25ed1a798182ef541b8eb0c5b4f2c..1333e6ec45354b1a633ae16de6088db47bab147d 100644 |
--- a/base/location.cc |
+++ b/base/location.cc |
@@ -31,6 +31,13 @@ Location::Location() |
program_counter_(NULL) { |
} |
+Location::Location(const Location& other) |
+ : function_name_(other.function_name_), |
+ file_name_(other.file_name_), |
+ line_number_(other.line_number_), |
+ program_counter_(other.program_counter_) { |
+} |
+ |
std::string Location::ToString() const { |
return std::string(function_name_) + "@" + file_name_ + ":" + |
base::IntToString(line_number_); |