Build fix for un-initialized var.
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2006 21:25:25 +0000 (21:25 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 24 Oct 2006 21:25:25 +0000 (21:25 +0000)
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17262 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKit/Plugins/WebBaseNetscapePluginView.mm

index 923cc0203a4366c9a726a3ba90b968da978fd6f6..fcbc4f1a30705635d46b134b3cf08e81f0c9812f 100644 (file)
@@ -2120,7 +2120,7 @@ static OSStatus TSMEventHandler(EventHandlerCallRef inHandlerRef, EventRef inEve
 - (void)invalidateRegion:(NPRegion)invalidRegion
 {
     LOG(Plugins, "NPN_InvalidateRegion");
-    NSRect invalidRect;
+    NSRect invalidRect = NSZeroRect;
     switch (drawingModel) {
 #ifndef NP_NO_QUICKDRAW
         case NPDrawingModelQuickDraw: