Commit c1486f33 authored by cblu's avatar cblu

Fixed: 3074926 - crash in BitsToPix() trying to print cnet page

        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView drawRect:]): disable experimental plug-in printing code.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 20330f77
2002-11-20 Chris Blumenberg <cblu@apple.com>
Fixed: 3074926 - crash in BitsToPix() trying to print cnet page
* Plugins.subproj/WebBaseNetscapePluginView.m:
(-[WebBaseNetscapePluginView drawRect:]): disable experimental plug-in printing code.
2002-11-20 Chris Blumenberg <cblu@apple.com> 2002-11-20 Chris Blumenberg <cblu@apple.com>
Minor clean-up, logging and more error checking in plug-in code. Minor clean-up, logging and more error checking in plug-in code.
......
2002-11-20 Chris Blumenberg <cblu@apple.com>
Fixed: 3074926 - crash in BitsToPix() trying to print cnet page
* Plugins.subproj/WebBaseNetscapePluginView.m:
(-[WebBaseNetscapePluginView drawRect:]): disable experimental plug-in printing code.
2002-11-20 Chris Blumenberg <cblu@apple.com> 2002-11-20 Chris Blumenberg <cblu@apple.com>
Minor clean-up, logging and more error checking in plug-in code. Minor clean-up, logging and more error checking in plug-in code.
......
...@@ -648,17 +648,7 @@ - (void)drawRect:(NSRect)rect ...@@ -648,17 +648,7 @@ - (void)drawRect:(NSRect)rect
SetPortVisibleRegion(nPort.port, savedVisibleRegion); SetPortVisibleRegion(nPort.port, savedVisibleRegion);
DisposeRgn(savedVisibleRegion); DisposeRgn(savedVisibleRegion);
}else{ }else{
// Printing // Printing 2862383
PixMapHandle srcMap, dstMap;
Rect rect;
dstMap = NewPixMap();
srcMap = GetPortPixMap(nPort.port);
SetRect(&rect, window.x, window.y, window.x + window.width, window.y + window.height);
CopyBits((BitMap *)srcMap, (BitMap *)dstMap, &rect, &rect, srcCopy, NULL);
NSLog(@"%d", QDError());
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment