final void method3677(Canvas canvas) {
	if (canvas != null) {
	    AbstractImageFetcher class348_sub31
		= ((AbstractImageFetcher)
		   fetcherTable.get((long) canvas.hashCode()));
	    if (class348_sub31 != null) {
		this.canvas = canvas;
		Dimension dimension = canvas.getSize();
		canvasWidth = dimension.width;
		canvasHeight = dimension.height;
		((SoftwareToolkit) this).abstractImageFetcher = class348_sub31;
		if (aClass49_7475 == null) {
		    ((SoftwareToolkit) this).pixelBuffer
			= ((AbstractImageFetcher) class348_sub31).pixelBuffer;
		    ((SoftwareToolkit) this).maxWidth
			= ((AbstractImageFetcher) class348_sub31).width;
		    maxHeight = ((AbstractImageFetcher) class348_sub31).height;
		    if (((SoftwareToolkit) this).maxWidth != anInt7495
			|| maxHeight != anInt7488) {
			anInt7481 = anInt7495 = ((SoftwareToolkit) this).maxWidth;
			anInt7493 = anInt7488 = maxHeight;
			((SoftwareToolkit) this).aFloatArray7502
			    = ((SoftwareToolkit) this).aFloatArray7511
			    = new float[anInt7495 * anInt7488];
		    }
		    method3717();
		}
	    }
	} else {
	    canvas = null;
	    ((SoftwareToolkit) this).abstractImageFetcher = null;
	    if (aClass49_7475 == null) {
		((SoftwareToolkit) this).pixelBuffer = null;
		((SoftwareToolkit) this).maxWidth = maxHeight = 1;
		anInt7495 = anInt7488 = 1;
		method3717();
	    }
	}
    }