From 356b053d66ef31be875ba8c9dd07b7fcb8264d56 Mon Sep 17 00:00:00 2001 From: "dcone%netscape.com" Date: Wed, 4 Nov 1998 17:34:19 +0000 Subject: [PATCH] have a new interface for the blends init --- view/src/nsView.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/src/nsView.cpp b/view/src/nsView.cpp index 4a1333b6d435..f3fcb7ae5153 100644 --- a/view/src/nsView.cpp +++ b/view/src/nsView.cpp @@ -617,8 +617,8 @@ NS_IMETHODIMP nsView :: Paint(nsIRenderingContext& rc, const nsRect& rect, width = NSToCoordRound(mBounds.width * t2p); height = NSToCoordRound(mBounds.height * t2p); - blender->Init(surf, redsurf); - blender->Blend(0, 0, width, height, redsurf, 0, 0, opacity, PR_FALSE); + blender->Init(dx); + blender->Blend(0, 0, width, height,surf,redsurf, 0, 0, opacity, PR_FALSE); NS_RELEASE(blender); NS_RELEASE(dx);