Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Unified Diff: content/renderer/pepper/npobject_var.cc

Issue 225903006: PPAPI: Run clang_format.py on content/renderer/pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/pepper/npapi_glue.cc ('k') | content/renderer/pepper/pepper_audio_input_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/npobject_var.cc
diff --git a/content/renderer/pepper/npobject_var.cc b/content/renderer/pepper/npobject_var.cc
index c45d0d2822a258e61e31f1da2d680976414c0f9b..50ccf87b4df24cb12429e5a4733a095b53504408 100644
--- a/content/renderer/pepper/npobject_var.cc
+++ b/content/renderer/pepper/npobject_var.cc
@@ -16,10 +16,8 @@ namespace ppapi {
// NPObjectVar -----------------------------------------------------------------
-NPObjectVar::NPObjectVar(PP_Instance instance,
- NPObject* np_object)
- : pp_instance_(instance),
- np_object_(np_object) {
+NPObjectVar::NPObjectVar(PP_Instance instance, NPObject* np_object)
+ : pp_instance_(instance), np_object_(np_object) {
WebBindings::retainObject(np_object_);
content::HostGlobals::Get()->host_var_tracker()->AddNPObjectVar(this);
}
@@ -30,13 +28,9 @@ NPObjectVar::~NPObjectVar() {
WebBindings::releaseObject(np_object_);
}
-NPObjectVar* NPObjectVar::AsNPObjectVar() {
- return this;
-}
+NPObjectVar* NPObjectVar::AsNPObjectVar() { return this; }
-PP_VarType NPObjectVar::GetType() const {
- return PP_VARTYPE_OBJECT;
-}
+PP_VarType NPObjectVar::GetType() const { return PP_VARTYPE_OBJECT; }
void NPObjectVar::InstanceDeleted() {
DCHECK(pp_instance_);
« no previous file with comments | « content/renderer/pepper/npapi_glue.cc ('k') | content/renderer/pepper/pepper_audio_input_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698