diff options
Diffstat (limited to 'dom/canvas/WebGLCrossProcessCommandQueue.cpp')
-rw-r--r-- | dom/canvas/WebGLCrossProcessCommandQueue.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dom/canvas/WebGLCrossProcessCommandQueue.cpp b/dom/canvas/WebGLCrossProcessCommandQueue.cpp new file mode 100644 index 0000000000..a4491302f2 --- /dev/null +++ b/dom/canvas/WebGLCrossProcessCommandQueue.cpp @@ -0,0 +1,21 @@ +/* -*- Mode: C++; tab-width: 20; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +#include "WebGLCrossProcessCommandQueue.h" +#include "WebGLMethodDispatcher.h" + +namespace mozilla { + +#if 0 +bool HostWebGLCommandSink<Consumer, Queue>::DispatchCommand(size_t command) { + if (!mHostContext) { + return false; + } + + return WebGLMethodDispatcher::DispatchCommand(command, *this, *mHostContext); +} +#endif + +} // namespace mozilla |