Commit 8ad1e467 authored by andersca@apple.com's avatar andersca@apple.com

Try to fix the Windows build.

* DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
(NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):



git-svn-id: svn://svn.chromium.org/blink/trunk@81160 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 457f6851
2011-03-15 Anders Carlsson <andersca@apple.com>
Try to fix the Windows build.
* DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp:
(NPDeallocateCalledBeforeNPShutdown::TestObject::~TestObject):
2011-03-15 Anders Carlsson <andersca@apple.com> 2011-03-15 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig. Reviewed by Sam Weinig.
......
...@@ -45,8 +45,13 @@ private: ...@@ -45,8 +45,13 @@ private:
// This should really be an assert, but there's no way for the test framework // This should really be an assert, but there's no way for the test framework
// to know that the plug-in process crashed, so we'll just sleep for a while // to know that the plug-in process crashed, so we'll just sleep for a while
// to ensure that the test times out. // to ensure that the test times out.
if (wasShutdownCalled) if (wasShutdownCalled) {
#if defined(XP_WIN)
::Sleep(100000);
#else
sleep(1000); sleep(1000);
#endif
}
} }
}; };
......
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