From 9a183018ea9c7d58a6aa71a2afb92271c4207e01 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Fri, 11 Feb 2011 00:14:22 +0000 Subject: improve browser_window_redraw width and height handling svn path=/trunk/netsurf/; revision=11642 --- cocoa/BrowserView.m | 2 -- 1 file changed, 2 deletions(-) (limited to 'cocoa') diff --git a/cocoa/BrowserView.m b/cocoa/BrowserView.m index 4e728c867..d9d594aa9 100644 --- a/cocoa/BrowserView.m +++ b/cocoa/BrowserView.m @@ -136,8 +136,6 @@ static inline NSRect cocoa_get_caret_rect( BrowserView *view ) for (NSInteger i = 0; i < count; i++) { browser_window_redraw(browser, 0, 0, - cocoa_pt_to_px( NSWidth( frame ) ), - cocoa_pt_to_px( NSHeight( frame ) ), cocoa_pt_to_px( NSMinX( rects[i] ) ), cocoa_pt_to_px( NSMinY( rects[i] ) ), cocoa_pt_to_px( NSMaxX( rects[i] ) ), -- cgit v1.2.3