summaryrefslogtreecommitdiffstats
path: root/webkit/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/plugins')
-rw-r--r--webkit/plugins/ppapi/ppb_context_3d_impl.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/webkit/plugins/ppapi/ppb_context_3d_impl.cc b/webkit/plugins/ppapi/ppb_context_3d_impl.cc
index 9494459..7d3b498 100644
--- a/webkit/plugins/ppapi/ppb_context_3d_impl.cc
+++ b/webkit/plugins/ppapi/ppb_context_3d_impl.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 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.
@@ -199,7 +199,7 @@ int32_t CreateTransferBuffer(PP_Resource context_id, uint32_t size) {
Resource::GetAs<PPB_Context3D_Impl>(context_id));
if (!context.get() || !context->command_buffer())
return 0;
- return context->command_buffer()->CreateTransferBuffer(size);
+ return context->command_buffer()->CreateTransferBuffer(size, -1);
}
PP_Bool DestroyTransferBuffer(PP_Resource context_id, int32_t id) {
@@ -310,7 +310,7 @@ bool PPB_Context3D_Impl::CreateImplementation() {
// Create a transfer buffer used to copy resources between the renderer
// process and the GPU process.
transfer_buffer_id_ =
- command_buffer->CreateTransferBuffer(kTransferBufferSize);
+ command_buffer->CreateTransferBuffer(kTransferBufferSize, -1);
if (transfer_buffer_id_ < 0)
return false;