Don't need to set current_redraw_browser any more.
svn path=/trunk/netsurf/; revision=12653
This commit is contained in:
parent
cdbed58a72
commit
6fed775565
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue