Commit 98080e85 authored by liujisi@google.com's avatar liujisi@google.com

Update upb namespace in friendship declaration.

parent cb77c4c3
......@@ -50,9 +50,9 @@
namespace google {
namespace upb {
namespace proto2_bridge_opensource {
class FieldAccessor;
} // namespace protobuf_bridge_google3
namespace google_opensource {
class GMR_Handlers;
} // namespace google_opensource
} // namespace upb
namespace protobuf {
......@@ -287,9 +287,9 @@ class LIBPROTOBUF_EXPORT GeneratedMessageReflection : public Reflection {
private:
friend class GeneratedMessage;
// To parse directly into a proto2 generated class, FieldAccessor needs
// access to member offsets and hasbits.
friend class LIBPROTOBUF_EXPORT upb::proto2_bridge_opensource::FieldAccessor;
// To parse directly into a proto2 generated class, the class GMR_Handlers
// needs access to member offsets and hasbits.
friend class LIBPROTOBUF_EXPORT upb::google_opensource::GMR_Handlers;
const Descriptor* descriptor_;
const Message* default_instance_;
......
......@@ -57,9 +57,9 @@
namespace google {
namespace upb {
namespace proto2_bridge_opensource {
class FieldAccessor;
} // namespace protobuf_bridge_opensource
namespace google_opensource {
class GMR_Handlers;
} // namespace google_opensource
} // namespace upb
namespace protobuf {
......@@ -235,9 +235,9 @@ class LIBPROTOBUF_EXPORT RepeatedPtrFieldBase {
// use of AddFromCleared(), which is not part of the public interface.
friend class ExtensionSet;
// To parse directly into a proto2 generated class, the upb FieldAccessor
// To parse directly into a proto2 generated class, the upb class GMR_Handlers
// needs to be able to modify a RepeatedPtrFieldBase directly.
friend class LIBPROTOBUF_EXPORT upb::proto2_bridge_opensource::FieldAccessor;
friend class LIBPROTOBUF_EXPORT upb::google_opensource::GMR_Handlers;
RepeatedPtrFieldBase();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment