diff --git a/mozilla/layout/base/nsPresShell.cpp b/mozilla/layout/base/nsPresShell.cpp index 55327b0ed25..0d56f9f9978 100644 --- a/mozilla/layout/base/nsPresShell.cpp +++ b/mozilla/layout/base/nsPresShell.cpp @@ -1819,7 +1819,7 @@ struct ReflowEvent : public PLEvent { if (presShell) { #ifdef DEBUG if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) { - printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell, this); + printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell.get(), this); } #endif presShell->SetReflowEventStatus(PR_FALSE); diff --git a/mozilla/layout/html/base/src/nsPresShell.cpp b/mozilla/layout/html/base/src/nsPresShell.cpp index 55327b0ed25..0d56f9f9978 100644 --- a/mozilla/layout/html/base/src/nsPresShell.cpp +++ b/mozilla/layout/html/base/src/nsPresShell.cpp @@ -1819,7 +1819,7 @@ struct ReflowEvent : public PLEvent { if (presShell) { #ifdef DEBUG if (VERIFY_REFLOW_NOISY_RC & gVerifyReflowFlags) { - printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell, this); + printf("\n*** Handling reflow event: PresShell=%p, event=%p\n", presShell.get(), this); } #endif presShell->SetReflowEventStatus(PR_FALSE); diff --git a/mozilla/xpcom/proxy/tests/proxytests.cpp b/mozilla/xpcom/proxy/tests/proxytests.cpp index 9dd8a3a2097..2fa491cf7e9 100644 --- a/mozilla/xpcom/proxy/tests/proxytests.cpp +++ b/mozilla/xpcom/proxy/tests/proxytests.cpp @@ -267,7 +267,7 @@ void TestCase_NestedLoop(void *arg) NS_GET_IID(nsIProxyObjectManager), (nsISupports **)&manager); - printf("ProxyObjectManager: %d \n", manager); + printf("ProxyObjectManager: %p \n", manager); PR_ASSERT(manager);