Skip to content

Commit f1cdd0a

Browse files
Getting rid of destroy handle method
1 parent 8ccd10c commit f1cdd0a

File tree

1 file changed

+0
-7
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics

1 file changed

+0
-7
lines changed

bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2079,13 +2079,6 @@ public static Image win32_new(Device device, int type, long handle, int nativeZo
20792079
return image;
20802080
}
20812081

2082-
private void destroyHandle(int zoom) {
2083-
ImageHandle imageHandle = zoomLevelToImageHandle.remove(zoom);
2084-
if (imageHandle != null) {
2085-
destroyHandle(imageHandle.handle);
2086-
}
2087-
}
2088-
20892082
private abstract class AbstractImageProviderWrapper {
20902083
abstract Object getProvider();
20912084
protected abstract Rectangle getBounds(int zoom);

0 commit comments

Comments
 (0)