| Index: Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp
|
| diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp b/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp
|
| index 0e238e60771d535117688d0bc46c5bb137d5af85..96e9d833769ae74353d91a483b904264614b5c53 100644
|
| --- a/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp
|
| +++ b/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/NPRuntimeObjectFromDestroyedPlugin.cpp
|
| @@ -39,7 +39,7 @@ private:
|
| class TestObject : public Object<TestObject> { };
|
|
|
| // This is the scriptable object. It has a single "testObject" property and an "evaluate" function.
|
| - class ScriptableObject : public Object<ScriptableObject> {
|
| + class ScriptableObject : public Object<ScriptableObject> {
|
| public:
|
| bool hasMethod(NPIdentifier methodName)
|
| {
|
| @@ -77,9 +77,9 @@ private:
|
| {
|
| if (variable != NPPVpluginScriptableNPObject)
|
| return NPERR_GENERIC_ERROR;
|
| -
|
| +
|
| *(NPObject**)value = ScriptableObject::create(this);
|
| -
|
| +
|
| return NPERR_NO_ERROR;
|
| }
|
| };
|
|
|