OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:npObject
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/bindings/v8/
npruntime.cpp
266
NPObject
*_NPN_CreateObject(NPP npp, NPClass* npClass)
271
NPObject
*
npObject
;
273
npObject
= npClass->allocate(npp, npClass);
275
npObject
= reinterpret_cast<
NPObject
*>(malloc(sizeof(
NPObject
)));
277
npObject
->_class = npClass;
278
npObject
->referenceCount = 1;
279
return
npObject
;
[
all
...]
V8NPObject.cpp
69
// Params: holder could be HTMLEmbedElement or
NPObject
72
NPObject
*
npObject
;
86
npObject
= v8ObjectToNPObject(wrapper->newLocal(isolate));
88
npObject
= 0;
90
// The holder object is not a subtype of HTMLPlugInElement, it must be an
NPObject
which has three
93
throwError(v8ReferenceError, "NPMethod called on non-
NPObject
", info.GetIsolate());
97
npObject
= v8ObjectToNPObject(info.Holder());
100
// Verify that our wrapper wasn't using a
NPObject
which has already been deleted.
101
if (!
npObject
|| !_NPN_IsAlive(npObject))
[
all
...]
Completed in 50 milliseconds