X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fcontent%2Frenderer%2Fpepper%2Fnpapi_glue.h;h=7bcbbff969b98f8c3b5cfe2f8c131460a902c7ec;hb=004985e17e624662a4c85c76a7654039dc83f028;hp=c2d23c87f23bbc8069a4678bd98d734201a52772;hpb=2f108dbacb161091e42a3479f4e171339b7e7623;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/content/renderer/pepper/npapi_glue.h b/src/content/renderer/pepper/npapi_glue.h index c2d23c8..7bcbbff 100644 --- a/src/content/renderer/pepper/npapi_glue.h +++ b/src/content/renderer/pepper/npapi_glue.h @@ -64,8 +64,8 @@ PP_Var NPIdentifierToPPVar(NPIdentifier id); // Note: this could easily be changed to take a PP_Instance instead if that // makes certain calls in the future easier. Currently all callers have a // PluginInstance so that's what we use here. -CONTENT_EXPORT PP_Var NPObjectToPPVar(PepperPluginInstanceImpl* instance, - NPObject* object); +CONTENT_EXPORT PP_Var + NPObjectToPPVar(PepperPluginInstanceImpl* instance, NPObject* object); // This version creates a default v8::Context rather than using the one from // the container of |instance|. It is only for use in unit tests, where we don't @@ -112,9 +112,7 @@ class PPResultAndExceptionToNPResult { // Returns true if everything succeeded with no exception. This is valid only // after calling SetResult/CheckExceptionForNoResult. - bool success() const { - return success_; - } + bool success() const { return success_; } // Call this with the return value of the PPAPI function. It will convert // the result to the NPVariant output parameter and pass any exception on to @@ -139,7 +137,7 @@ class PPResultAndExceptionToNPResult { NPObject* object_var_; // Non-owning ref (see constructor). NPVariant* np_result_; // Output value, possibly NULL (see constructor). PP_Var exception_; // Exception set by the PPAPI call. We own a ref to it. - bool success_; // See the success() function above. + bool success_; // See the success() function above. bool checked_exception_; // SetResult/CheckExceptionForNoResult was called. DISALLOW_COPY_AND_ASSIGN(PPResultAndExceptionToNPResult);