Index: third_party/protobuf/src/google/protobuf/arenastring.cc |
diff --git a/third_party/protobuf/src/google/protobuf/arenastring.cc b/third_party/protobuf/src/google/protobuf/arenastring.cc |
index 8ed299b35f63beff6699dfa9a3e91f016b1584e8..5a22adabcfedd8be981358cb80f988fe7da1e31a 100644 |
--- a/third_party/protobuf/src/google/protobuf/arenastring.cc |
+++ b/third_party/protobuf/src/google/protobuf/arenastring.cc |
@@ -44,7 +44,7 @@ void ArenaStringPtr::AssignWithDefault(const ::std::string* default_value, |
const ::std::string* other = *value.UnsafeRawStringPointer(); |
// If the pointers are the same then do nothing. |
if (me != other) { |
- SetNoArena(default_value, value.GetNoArena()); |
+ SetNoArena(default_value, value.GetNoArena(default_value)); |
} |
} |