blob: 83f475717a24701d2f35d0306096c67df7787909 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
dictionary MojoMapBufferResult {
required MojoResult result;
// TODO(alokp): Consider wrapping the buffer into a MojoSharedBufferMapping
// that would expose an unmap method to free the shared buffer eagerly
// rather than waiting for GC. This would be similar to ImageBitmap.close
// that disposes of graphical resources.
ArrayBuffer buffer;