-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unify instantiation of image handles in ImageFileNameProvider #1877
base: master
Are you sure you want to change the base?
Conversation
Test Results 509 files ±0 509 suites ±0 8m 38s ⏱️ - 1m 42s For more details on these failures and errors, see this check. Results for commit 7dad43f. ± Comparison against base commit 7f381e8. ♻️ This comment has been updated with latest results. |
8d3985b
to
c51c9c9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a failing test for image initialization on Windows, so the change does to not seem to be correct as is.
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
Show resolved
Hide resolved
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
Show resolved
Hide resolved
Initializing image handle only using initNative method for both the cases where zoom is equal to the filezoom and when its not equal to the filezoom. The handle in case of not equal is created temporarily and destroyed later before calling init.
832980d
to
3c4f49a
Compare
Tests that are failing will be resolved once #1898 is merged. So it makes this PR dependent. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR now basically reverts the commit made to Image recently pushed on master. Please adapt to current behavior of the class first.
Initializing image handle only using initNative method for both the cases where zoom is equal to the filezoom and when its not equal to the filezoom. The handle in case of not equal is created temporarily and destroyed later before calling init.
Dependent on: