Commit 1fe5903
committed
[Win32] Inline getImageMetadata method in Image
The method getImageMetadata() has a misleading name. It only has two
callers of which one even leads to a cyclic call between a concrete
provider class, the outer image class and the provider class
again. That caller also just needs to gets an image handle and not
create it at all. This change thus inlines the method and simplified the
according calls.1 parent dc9ed48 commit 1fe5903
File tree
1 file changed
+3
-8
lines changed- bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics
1 file changed
+3
-8
lines changedLines changed: 3 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
914 | | - | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | 914 | | |
921 | 915 | | |
922 | 916 | | |
| |||
942 | 936 | | |
943 | 937 | | |
944 | 938 | | |
945 | | - | |
| 939 | + | |
946 | 940 | | |
947 | 941 | | |
948 | 942 | | |
| |||
2073 | 2067 | | |
2074 | 2068 | | |
2075 | 2069 | | |
2076 | | - | |
| 2070 | + | |
| 2071 | + | |
2077 | 2072 | | |
2078 | 2073 | | |
2079 | 2074 | | |
| |||
0 commit comments