View | Details | Raw Unified | Return to bug 146894 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/draw2d/DeferredUpdateManager.java (-2 / +7 lines)
Lines 147-153 Link Here
147
		map.put(root, rect);
147
		map.put(root, rect);
148
		firePainting(rect, map);
148
		firePainting(rect, map);
149
	}
149
	}
150
	root.paint(graphics);
150
	doPaint(graphics);
151
	graphics.dispose();
151
	graphics.dispose();
152
}
152
}
153
153
Lines 271-277 Link Here
271
		//ystem.out.println(damage);
271
		//ystem.out.println(damage);
272
		Graphics graphics = getGraphics(damage);
272
		Graphics graphics = getGraphics(damage);
273
		if (graphics != null) {
273
		if (graphics != null) {
274
			root.paint(graphics);
274
			doPaint(graphics);
275
			releaseGraphics(graphics);
275
			releaseGraphics(graphics);
276
		}
276
		}
277
	}
277
	}
Lines 312-315 Link Here
312
	performValidation();
312
	performValidation();
313
}
313
}
314
314
315
private synchronized void doPaint(Graphics graphics) {
316
    validateFigures();
317
    root.paint(graphics);
318
}
319
315
}
320
}

Return to bug 146894