| Index: Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp
|
| diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp b/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp
|
| index 91f47aff1df84887b6803b2840f7d1a392dbf844..fb0f2c4615c0449a9433976f3072c91b0fa846ad 100644
|
| --- a/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp
|
| +++ b/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPDeallocateCalledBeforeNPShutdown.cpp
|
| @@ -38,9 +38,9 @@ public:
|
|
|
| private:
|
| // This is the test object.
|
| - class TestObject : public Object<TestObject> {
|
| + class TestObject : public Object<TestObject> {
|
| public:
|
| - ~TestObject()
|
| + ~TestObject()
|
| {
|
| if (wasShutdownCalled)
|
| indicateTestFailure();
|
| @@ -48,7 +48,7 @@ private:
|
| };
|
|
|
| // This is the scriptable object. It has a single "testObject" property.
|
| - class ScriptableObject : public Object<ScriptableObject> {
|
| + class ScriptableObject : public Object<ScriptableObject> {
|
| public:
|
| bool hasProperty(NPIdentifier propertyName)
|
| {
|
| @@ -77,9 +77,9 @@ private:
|
| {
|
| if (variable != NPPVpluginScriptableNPObject)
|
| return NPERR_GENERIC_ERROR;
|
| -
|
| +
|
| *(NPObject**)value = ScriptableObject::create(this);
|
| -
|
| +
|
| return NPERR_NO_ERROR;
|
| }
|
|
|
|
|