Searched refs:read_only_buffer (Results 1 – 2 of 2) sorted by relevance
102 scoped_refptr<PlatformSharedBuffer> read_only_buffer; in OnBufferRequest() local106 read_only_buffer = buffer->CreateReadOnlyDuplicate(); in OnBufferRequest()107 if (!read_only_buffer) in OnBufferRequest()116 handles->at(1) = read_only_buffer->PassPlatformHandle().release(); in OnBufferRequest()
204 scoped_refptr<PlatformSharedBuffer> read_only_buffer = in DuplicateBufferHandle() local206 if (!read_only_buffer) in DuplicateBufferHandle()208 DCHECK(read_only_buffer->IsReadOnly()); in DuplicateBufferHandle()209 *new_dispatcher = CreateInternal(std::move(read_only_buffer)); in DuplicateBufferHandle()