| Index: Source/bindings/v8/NPV8Object.cpp
|
| diff --git a/Source/bindings/v8/NPV8Object.cpp b/Source/bindings/v8/NPV8Object.cpp
|
| index 621a99ce6a8b279714de70631222b1fbbf27684b..80f29f643751f010a5baa031de9533eaf317d860 100644
|
| --- a/Source/bindings/v8/NPV8Object.cpp
|
| +++ b/Source/bindings/v8/NPV8Object.cpp
|
| @@ -111,7 +111,7 @@ static v8::Local<v8::String> npIdentifierToV8Identifier(NPIdentifier name)
|
|
|
| NPObject* v8ObjectToNPObject(v8::Handle<v8::Object> object)
|
| {
|
| - return reinterpret_cast<NPObject*>(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| + return reinterpret_cast<NPObject*>(object->GetAlignedPointerFromInternalField(v8DOMWrapperObjectIndex));
|
| }
|
|
|
| NPObject* npCreateV8ScriptObject(NPP npp, v8::Handle<v8::Object> object, DOMWindow* root)
|
| @@ -382,7 +382,7 @@ bool _NPN_GetProperty(NPP npp, NPObject* npObject, NPIdentifier propertyName, NP
|
|
|
| v8::Handle<v8::Object> obj = v8::Local<v8::Object>::New(isolate, object->v8Object);
|
| v8::Local<v8::Value> v8result = obj->Get(npIdentifierToV8Identifier(propertyName));
|
| -
|
| +
|
| if (v8result.IsEmpty())
|
| return false;
|
|
|
|
|