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

Unified Diff: ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_core.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_core.cc
diff --git a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_core.cc b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_core.cc
index 65039a282ecf070bed41d0df9a88e767eeff24fd..c86cbb3e241fe871fa77b65d6cb80a2fd44f5877 100644
--- a/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_core.cc
+++ b/ppapi/native_client/src/shared/ppapi_proxy/plugin_ppb_core.cc
@@ -1,6 +1,6 @@
-// Copyright 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.
+// 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.
#include "native_client/src/shared/ppapi_proxy/plugin_ppb_core.h"
#include <stdio.h>
@@ -34,7 +34,7 @@ bool main_thread_marked = false;
// Resource's reference count goes to zero, the destructor should make sure
// the browser reference is returned.
void AddRefResource(PP_Resource resource) {
- DebugPrintf("PPB_Core::AddRefResource: resource=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_Core::AddRefResource: resource=%"NACL_PRId32"\n",
resource);
if (!ppapi_proxy::PluginResourceTracker::Get()->AddRefResource(resource)) {
DebugPrintf("PPB_Core::AddRefResource: not tracked locally\n");
@@ -47,7 +47,7 @@ void AddRefResource(PP_Resource resource) {
}
void ReleaseResource(PP_Resource resource) {
- DebugPrintf("PPB_Core::ReleaseResource: resource=%"NACL_PRIu32"\n",
+ DebugPrintf("PPB_Core::ReleaseResource: resource=%"NACL_PRId32"\n",
resource);
if (!ppapi_proxy::PluginResourceTracker::Get()->UnrefResource(resource)) {
DebugPrintf("PPB_Core::ReleaseResource: not tracked locally\n");

Powered by Google App Engine
This is Rietveld 408576698