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

Remove the hasImage property from PDFThumbnailView #7030

Merged
merged 1 commit into from
Feb 25, 2016
Merged

Remove the hasImage property from PDFThumbnailView #7030

merged 1 commit into from
Feb 25, 2016

Conversation

Snuffleupagus
Copy link
Collaborator

The hasImage property is a left-over from older thumbnail code, and has been made obsolete by renderingState.
Having two different properties tracking (basically) the same state is asking for trouble, since it's very easy to forget to update one of them, with annoying bugs as the result.

The `hasImage` property is a left-over from older thumbnail code, and has been made obsolete by `renderingState`.
Having two different properties tracking (basically) the same state is asking for trouble, since it's very easy to forget to update one of them, with annoying bugs as the result.
@timvandermeij
Copy link
Contributor

/botio-linux preview

@pdfjsbot
Copy link

From: Bot.io (Linux)


Received

Command cmd_preview from @timvandermeij received. Current queue size: 0

Live output at: http://107.21.233.14:8877/bc4e3ae96305583/output.txt

timvandermeij added a commit that referenced this pull request Feb 25, 2016
…asImage

Remove the `hasImage` property from `PDFThumbnailView`
@timvandermeij timvandermeij merged commit 2b813c0 into mozilla:master Feb 25, 2016
@timvandermeij
Copy link
Contributor

Thank you for cleaning this up!

@Snuffleupagus Snuffleupagus deleted the PDFThumbnailView-remove-hasImage branch February 25, 2016 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants