Factor out common checks for set_data in various Image subclasses. #26070
+38
−62
We went looking everywhere, but couldn’t find those commits.
Sometimes commits can disappear after a force-push. Head back to the latest changes here.