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

Unified Diff: ppapi/shared_impl/ppb_device_ref_shared.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/ppb_device_ref_shared.h ('k') | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_device_ref_shared.cc
diff --git a/ppapi/shared_impl/ppb_device_ref_shared.cc b/ppapi/shared_impl/ppb_device_ref_shared.cc
index 1b458734ae8a06763df92c5920a3a34035177dc1..81d887831b820d6d19d99bb516988f6114da9d16 100644
--- a/ppapi/shared_impl/ppb_device_ref_shared.cc
+++ b/ppapi/shared_impl/ppb_device_ref_shared.cc
@@ -13,28 +13,20 @@ using ppapi::thunk::PPB_DeviceRef_API;
namespace ppapi {
-DeviceRefData::DeviceRefData()
- : type(PP_DEVICETYPE_DEV_INVALID) {
-}
+DeviceRefData::DeviceRefData() : type(PP_DEVICETYPE_DEV_INVALID) {}
PPB_DeviceRef_Shared::PPB_DeviceRef_Shared(ResourceObjectType type,
PP_Instance instance,
const DeviceRefData& data)
- : Resource(type, instance),
- data_(data) {
-}
+ : Resource(type, instance), data_(data) {}
-PPB_DeviceRef_API* PPB_DeviceRef_Shared::AsPPB_DeviceRef_API() {
- return this;
-}
+PPB_DeviceRef_API* PPB_DeviceRef_Shared::AsPPB_DeviceRef_API() { return this; }
const DeviceRefData& PPB_DeviceRef_Shared::GetDeviceRefData() const {
return data_;
}
-PP_DeviceType_Dev PPB_DeviceRef_Shared::GetType() {
- return data_.type;
-}
+PP_DeviceType_Dev PPB_DeviceRef_Shared::GetType() { return data_.type; }
PP_Var PPB_DeviceRef_Shared::GetName() {
return StringVar::StringToPPVar(data_.name);
« no previous file with comments | « ppapi/shared_impl/ppb_device_ref_shared.h ('k') | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698