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

Unified Diff: ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h

Issue 20182002: Make inttypes.h and similar macro usage C++11-friendly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: line Created 7 years, 5 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
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/utility.h ('k') | skia/ext/image_operations_bench.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h
diff --git a/ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h b/ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h
index 6daeba4de3f6fa471aabf635b0ad6fd01f9862fc..a618795742d0d672be6fc1b4c74825ce67144e4c 100644
--- a/ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h
+++ b/ppapi/native_client/src/trusted/weak_ref/call_on_main_thread.h
@@ -165,8 +165,8 @@ class WeakRefMemberFuncBinder {
data_(raw_data) {}
void Invoke(int32_t err) {
NaClLog2(kPpWeakRefModuleName, 4,
- ("WeakRefMemberFuncBinder: Invoke obj 0x%"NACL_PRIxPTR
- ", err%"NACL_PRId32"\n"),
+ ("WeakRefMemberFuncBinder: Invoke obj 0x%" NACL_PRIxPTR
+ ", err%" NACL_PRId32 "\n"),
reinterpret_cast<uintptr_t>(object_), err);
(object_->*raw_callback_fn_)(data_.get(), err);
NaClLog2(kPpWeakRefModuleName, 4,
@@ -182,7 +182,7 @@ template <typename R, typename E>
void WeakRefMemberFuncInvoker(
WeakRefMemberFuncBinder<R, E> *binder, int32_t err) {
NaClLog2(kPpWeakRefModuleName, 4,
- "WeakRefMemberFuncInvoker: %"NACL_PRIxPTR" %"NACL_PRId32"\n",
+ "WeakRefMemberFuncInvoker: %" NACL_PRIxPTR " %" NACL_PRId32 "\n",
(uintptr_t) binder,
err);
binder->Invoke(err);
@@ -210,7 +210,7 @@ pp::CompletionCallback WeakRefNewCallback(
NaClLog2(kPpWeakRefModuleName, 4,
"Entered WeakRefNewCallback\n");
NaClLog2(kPpWeakRefModuleName, 4,
- "object 0x%"NACL_PRIxPTR"\n",
+ "object 0x%" NACL_PRIxPTR "\n",
reinterpret_cast<uintptr_t>(object));
WeakRefMemberFuncBinder<R, E>* binder =
new WeakRefMemberFuncBinder<R, E>(object,
@@ -218,7 +218,7 @@ pp::CompletionCallback WeakRefNewCallback(
raw_data);
CHECK(binder != NULL);
NaClLog2(kPpWeakRefModuleName, 4,
- "WeakRefNewCallback: binder %"NACL_PRIxPTR"\n",
+ "WeakRefNewCallback: binder %" NACL_PRIxPTR "\n",
(uintptr_t) binder);
void (*weak_ref_member_func_invoker_ptr)(
WeakRefMemberFuncBinder<R, E>* binder,
« no previous file with comments | « ppapi/native_client/src/trusted/plugin/utility.h ('k') | skia/ext/image_operations_bench.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698