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

Unified Diff: ppapi/shared_impl/scoped_pp_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/scoped_pp_resource.cc ('k') | ppapi/shared_impl/socket_option_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/scoped_pp_var.cc
diff --git a/ppapi/shared_impl/scoped_pp_var.cc b/ppapi/shared_impl/scoped_pp_var.cc
index 3ae13b0445a940185424bb4fd4fa1c3be2d7688e..f612aa1a2ac765dd0652b53b92c6d86b88b9d548 100644
--- a/ppapi/shared_impl/scoped_pp_var.cc
+++ b/ppapi/shared_impl/scoped_pp_var.cc
@@ -21,24 +21,17 @@ void CallRelease(const PP_Var& v) {
} // namespace
-ScopedPPVar::ScopedPPVar() : var_(PP_MakeUndefined()) {
-}
+ScopedPPVar::ScopedPPVar() : var_(PP_MakeUndefined()) {}
-ScopedPPVar::ScopedPPVar(const PP_Var& v) : var_(v) {
- CallAddRef(var_);
-}
+ScopedPPVar::ScopedPPVar(const PP_Var& v) : var_(v) { CallAddRef(var_); }
-ScopedPPVar::ScopedPPVar(const PassRef&, const PP_Var& v) : var_(v) {
-}
+ScopedPPVar::ScopedPPVar(const PassRef&, const PP_Var& v) : var_(v) {}
-ScopedPPVar::ScopedPPVar(const ScopedPPVar& other)
- : var_(other.var_) {
+ScopedPPVar::ScopedPPVar(const ScopedPPVar& other) : var_(other.var_) {
CallAddRef(var_);
}
-ScopedPPVar::~ScopedPPVar() {
- CallRelease(var_);
-}
+ScopedPPVar::~ScopedPPVar() { CallRelease(var_); }
ScopedPPVar& ScopedPPVar::operator=(const PP_Var& v) {
CallAddRef(v);
« no previous file with comments | « ppapi/shared_impl/scoped_pp_resource.cc ('k') | ppapi/shared_impl/socket_option_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698