Don't need to set current_redraw_browser any more.

svn path=/trunk/netsurf/; revision=12653
This commit is contained in:
Michael Drake 2011-08-24 13:31:03 +00:00
parent cdbed58a72
commit 6fed775565
1 changed files with 0 additions and 4 deletions

View File

@ -330,8 +330,6 @@ fb_redraw(fbtk_widget_t *widget,
nsfb_claim(fbtk_get_nsfb(widget), &bwidget->redraw_box);
/* redraw bounding box is relative to window */
current_redraw_browser = bw;
clip.x0 = bwidget->redraw_box.x0;
clip.y0 = bwidget->redraw_box.y0;
clip.x1 = bwidget->redraw_box.x1;
@ -342,8 +340,6 @@ fb_redraw(fbtk_widget_t *widget,
(y - bwidget->scrolly) / bw->scale,
&clip, &ctx);
current_redraw_browser = NULL;
nsfb_update(fbtk_get_nsfb(widget), &bwidget->redraw_box);
bwidget->redraw_box.y0 = bwidget->redraw_box.x0 = INT_MAX;