Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc

Issue 9253011: Pepper SRPC proxy style and type nits (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad license to pass presubmit check Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc
index 7188ddd27fe983e138c26e02671fca29de5272f1..f4be06226c07d5d4903ac8fde4d24706a4f8b4ab 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_fullscreen.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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.
@@ -15,15 +15,15 @@ namespace ppapi_proxy {
namespace {
PP_Bool IsFullscreen(PP_Instance instance) {
- DebugPrintf("PPB_Fullscreen::IsFullscreen: instance=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_Fullscreen::IsFullscreen: instance=%"NACL_PRId32"\n",
instance);
- return PluginInstanceData::IsFullscreen(instance) ? PP_TRUE : PP_FALSE;
+ return PP_FromBool(PluginInstanceData::IsFullscreen(instance));
}
PP_Bool SetFullscreen(PP_Instance instance, PP_Bool fullscreen) {
DebugPrintf("PPB_Fullscreen::SetFullscreen: "
- "instance=%"NACL_PRIu32" fullscreen=%d\n", instance, fullscreen);
+ "instance=%"NACL_PRId32" fullscreen=%d\n", instance, fullscreen);
int32_t success;
NaClSrpcError srpc_result =
@@ -42,7 +42,7 @@ PP_Bool SetFullscreen(PP_Instance instance, PP_Bool fullscreen) {
PP_Bool GetScreenSize(PP_Instance instance, struct PP_Size* size) {
- DebugPrintf("PPB_Fullscreen::GetScreenSize: instance=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_Fullscreen::GetScreenSize: instance=%"NACL_PRId32"\n",
instance);
if (size == NULL)
return PP_FALSE;

Powered by Google App Engine
This is Rietveld 408576698