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

Unified Diff: ppapi/shared_impl/thread_aware_callback.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/thread_aware_callback.h ('k') | ppapi/shared_impl/thread_aware_callback_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/thread_aware_callback.cc
diff --git a/ppapi/shared_impl/thread_aware_callback.cc b/ppapi/shared_impl/thread_aware_callback.cc
index 06e722aa03dd12faadc1409ca59c790addce36b1..4739a94944586b0db5dc56c90b7e52b472b55978 100644
--- a/ppapi/shared_impl/thread_aware_callback.cc
+++ b/ppapi/shared_impl/thread_aware_callback.cc
@@ -14,8 +14,7 @@ namespace internal {
class ThreadAwareCallbackBase::Core : public base::RefCountedThreadSafe<Core> {
public:
- Core() : aborted_(false) {
- }
+ Core() : aborted_(false) {}
void MarkAsAborted() { aborted_ = true; }
@@ -26,8 +25,7 @@ class ThreadAwareCallbackBase::Core : public base::RefCountedThreadSafe<Core> {
private:
friend class base::RefCountedThreadSafe<Core>;
- ~Core() {
- }
+ ~Core() {}
bool aborted_;
};
@@ -38,9 +36,7 @@ ThreadAwareCallbackBase::ThreadAwareCallbackBase()
DCHECK(target_loop_.get());
}
-ThreadAwareCallbackBase::~ThreadAwareCallbackBase() {
- core_->MarkAsAborted();
-}
+ThreadAwareCallbackBase::~ThreadAwareCallbackBase() { core_->MarkAsAborted(); }
// static
bool ThreadAwareCallbackBase::HasTargetLoop() {
« no previous file with comments | « ppapi/shared_impl/thread_aware_callback.h ('k') | ppapi/shared_impl/thread_aware_callback_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698