Skip to content
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

Refactor createBlockImageViewElement() helper function. #11236

Merged
merged 2 commits into from
Feb 9, 2022

Conversation

dawidurbanski
Copy link
Contributor

@dawidurbanski dawidurbanski commented Feb 8, 2022

Suggested merge commit message (convention)

Internal (image): Refactor createBlockImageViewElement() helper function.


Why: Recently we changed the slotFor() API by moving it into the writer and renaming the function. This PR aims to do a small refactoring by removing second parameter slotElement which is created using writer since we already pass the whole writer into the createBlockImageViewElement().

It's documented in another PR review and acts as a follow up to it: #11211 (review)

@Reinmar
Copy link
Member

Reinmar commented Feb 9, 2022

The PR should explain why is this change needed and where it originated from.

I can see a link in #11187 but I don't understand why is it done.

@dawidurbanski
Copy link
Contributor Author

dawidurbanski commented Feb 9, 2022

@Reinmar: PR description updated.

@niegowski niegowski merged commit 77ee918 into ck/10294/reconversion Feb 9, 2022
@niegowski niegowski deleted the ck/10294/reconversion-create-slot branch February 9, 2022 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants