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

Unified Diff: ppapi/shared_impl/array_var.cc

Issue 174213003: PPAPI: Use clang-format on ppapi/shared_impl (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: remove DEPS Created 6 years, 10 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 | « ppapi/shared_impl/array_var.h ('k') | ppapi/shared_impl/array_writer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/array_var.cc
diff --git a/ppapi/shared_impl/array_var.cc b/ppapi/shared_impl/array_var.cc
index def1bb57e0e7e1c06521c03a291b04fe5cdf7805..6207379f5da0e2ce7415a30496111ed4d9c0acca 100644
--- a/ppapi/shared_impl/array_var.cc
+++ b/ppapi/shared_impl/array_var.cc
@@ -13,11 +13,9 @@
namespace ppapi {
-ArrayVar::ArrayVar() {
-}
+ArrayVar::ArrayVar() {}
-ArrayVar::~ArrayVar() {
-}
+ArrayVar::~ArrayVar() {}
// static
ArrayVar* ArrayVar::FromPPVar(const PP_Var& var) {
@@ -31,13 +29,9 @@ ArrayVar* ArrayVar::FromPPVar(const PP_Var& var) {
return var_object->AsArrayVar();
}
-ArrayVar* ArrayVar::AsArrayVar() {
- return this;
-}
+ArrayVar* ArrayVar::AsArrayVar() { return this; }
-PP_VarType ArrayVar::GetType() const {
- return PP_VARTYPE_ARRAY;
-}
+PP_VarType ArrayVar::GetType() const { return PP_VARTYPE_ARRAY; }
PP_Var ArrayVar::Get(uint32_t index) const {
if (index >= elements_.size())
« no previous file with comments | « ppapi/shared_impl/array_var.h ('k') | ppapi/shared_impl/array_writer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698