summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc')
-rw-r--r--chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc b/chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc
index 9c0911ac969..0b58b981ec5 100644
--- a/chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc
+++ b/chromium/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_string_field.cc
@@ -53,7 +53,7 @@ void SetStringVariables(const FieldDescriptor* descriptor,
(*variables)["default_length"] =
SimpleItoa(descriptor->default_value_string().length());
(*variables)["default_variable"] = descriptor->default_value_string().empty()
- ? "&::google::protobuf::internal::kEmptyString"
+ ? "&::google::protobuf::internal::GetEmptyString()"
: "_default_" + FieldName(descriptor) + "_";
(*variables)["pointer_type"] =
descriptor->type() == FieldDescriptor::TYPE_BYTES ? "void" : "char";