Fixed an assertion failure I ran into while debugging <rdar://problem/
4652683>.
* Plugins/WebNetscapePluginEmbeddedView.m:
(-[WebNetscapePluginEmbeddedView redeliverStream]):
Don't clear the "instance" ivar here. This code was refactored here from the old WebNetscapePluginRepresentation,
which also had an "instance" ivar. It is never appropriate to clear a plug-in view's instance. That is done when
the plug-in is destroyed.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15743
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2006-08-01 Tim Omernick <timo@apple.com>
+
+ Reviewed by Anders.
+
+ Fixed an assertion failure I ran into while debugging <rdar://problem/4652683>.
+
+ * Plugins/WebNetscapePluginEmbeddedView.m:
+ (-[WebNetscapePluginEmbeddedView redeliverStream]):
+ Don't clear the "instance" ivar here. This code was refactored here from the old WebNetscapePluginRepresentation,
+ which also had an "instance" ivar. It is never appropriate to clear a plug-in view's instance. That is done when
+ the plug-in is destroyed.
+
2006-08-01 Maciej Stachowiak <mjs@apple.com>
Reviewed by Geoff.
// Deliver what has not been passed to the plug-in up to this point.
if (_dataLengthReceived > 0) {
NSData *data = [[[self dataSource] data] subdataWithRange:NSMakeRange(0, _dataLengthReceived)];
- instance = NULL;
_dataLengthReceived = 0;
[self pluginView:self receivedData:data];
if (![[self dataSource] isLoading]) {