summaryrefslogtreecommitdiff
path: root/cocoa
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2011-03-09 21:04:15 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2011-03-09 21:04:15 +0000
commit55fd1d0133d30ed68f29860fa867f17c1e7f78b4 (patch)
treeef91354d74bd1585616f8a6299b7b27082fbbd12 /cocoa
parenta0e0d23c2df487d48ff12f7abdc35e05b1861dd1 (diff)
downloadnetsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.gz
netsurf-55fd1d0133d30ed68f29860fa867f17c1e7f78b4.tar.bz2
Front ends don't need to call thumbnail_get_redraw_scale() now.
svn path=/trunk/netsurf/; revision=11946
Diffstat (limited to 'cocoa')
-rw-r--r--cocoa/thumbnail.m3
1 files changed, 0 insertions, 3 deletions
diff --git a/cocoa/thumbnail.m b/cocoa/thumbnail.m
index d91d4810a..01239b9ec 100644
--- a/cocoa/thumbnail.m
+++ b/cocoa/thumbnail.m
@@ -46,9 +46,6 @@ bool thumbnail_create(struct hlcache_handle *content, struct bitmap *bitmap,
[NSGraphicsContext setCurrentContext: [NSGraphicsContext graphicsContextWithGraphicsPort: bitmapContext flipped: YES]];
- /* todo: ??? set plot scale according to the scale the thumbnail will be
- * rendered at, by calling thumbnail_get_redraw_scale(). ??? */
-
thumbnail_redraw( content, width, height );
[NSGraphicsContext setCurrentContext: nil];