Index: ipc/ipc_platform_file_attachment_posix.cc |
diff --git a/ipc/ipc_platform_file_attachment_posix.cc b/ipc/ipc_platform_file_attachment_posix.cc |
index b130ab26eb7db62a4970b2a93ca4237915d7a339..7111cfa0bbb4979d7ff3eb67848c94ccc925baf5 100644 |
--- a/ipc/ipc_platform_file_attachment_posix.cc |
+++ b/ipc/ipc_platform_file_attachment_posix.cc |
@@ -20,7 +20,7 @@ PlatformFileAttachment::~PlatformFileAttachment() { |
} |
MessageAttachment::Type PlatformFileAttachment::GetType() const { |
- return TYPE_PLATFORM_FILE; |
+ return Type::PLATFORM_FILE; |
} |
base::PlatformFile PlatformFileAttachment::TakePlatformFile() { |
@@ -30,7 +30,7 @@ base::PlatformFile PlatformFileAttachment::TakePlatformFile() { |
base::PlatformFile GetPlatformFile( |
scoped_refptr<MessageAttachment> attachment) { |
- DCHECK_EQ(attachment->GetType(), MessageAttachment::TYPE_PLATFORM_FILE); |
+ DCHECK_EQ(attachment->GetType(), MessageAttachment::Type::PLATFORM_FILE); |
return static_cast<PlatformFileAttachment*>(attachment.get())->file(); |
} |