| Index: webkit/plugins/ppapi/ppb_graphics_3d_impl.cc
|
| ===================================================================
|
| --- webkit/plugins/ppapi/ppb_graphics_3d_impl.cc (revision 89886)
|
| +++ webkit/plugins/ppapi/ppb_graphics_3d_impl.cc (working copy)
|
| @@ -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.
|
|
|
| @@ -7,8 +7,11 @@
|
| #include "base/logging.h"
|
| #include "ppapi/c/pp_completion_callback.h"
|
| #include "ppapi/c/pp_errors.h"
|
| +#include "ppapi/thunk/common.h"
|
| #include "webkit/plugins/ppapi/common.h"
|
|
|
| +using ppapi::thunk::MayForceCallback;
|
| +
|
| namespace webkit {
|
| namespace ppapi {
|
|
|
| @@ -68,7 +71,7 @@
|
|
|
| int32_t SwapBuffers(PP_Resource context, PP_CompletionCallback callback) {
|
| // TODO(alokp): Implement me.
|
| - return 0;
|
| + return MayForceCallback(callback, PP_OK);
|
| }
|
|
|
| const PPB_Graphics3D_Dev ppb_graphics3d = {
|
| @@ -108,4 +111,3 @@
|
|
|
| } // namespace ppapi
|
| } // namespace webkit
|
| -
|
|
|