Commit 7f3be6b4 authored by darin's avatar darin
Browse files

Reviewed by Tim Hatcher.

        - fix assertion firing in plug-in layout tests

        * Plugins/WebBaseNetscapePluginView.m:
        (-[WebBaseNetscapePluginView restartNullEvents]):
        Don't start null events if the plug-in is not in the
        started state. This happens when the plug-in moves within
        its view hierarchy after it has been stopped.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2a6da87c
2006-07-09 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- fix assertion firing in plug-in layout tests
* Plugins/WebBaseNetscapePluginView.m:
(-[WebBaseNetscapePluginView restartNullEvents]):
Don't start null events if the plug-in is not in the
started state. This happens when the plug-in moves within
its view hierarchy after it has been stopped.
2006-07-09 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin.
......
/*
* Copyright (C) 2005 Apple Computer, Inc. All rights reserved.
* Copyright (C) 2005, 2006 Apple Computer, Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
......@@ -689,7 +689,7 @@ - (void)restartNullEvents
if (nullEventTimer)
[self stopNullEvents];
if ([[self window] isMiniaturized])
if (!isStarted || [[self window] isMiniaturized])
return;
NSTimeInterval interval;
......
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