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

Unified Diff: ppapi/shared_impl/ppb_video_decoder_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_var_shared.cc ('k') | ppapi/shared_impl/ppb_view_shared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_video_decoder_shared.cc
diff --git a/ppapi/shared_impl/ppb_video_decoder_shared.cc b/ppapi/shared_impl/ppb_video_decoder_shared.cc
index 8b75cc7c89aa65d01c5ac63395b8a5ca315d77b6..97275dbc48c14a34447a3b3414bc08db63e23138 100644
--- a/ppapi/shared_impl/ppb_video_decoder_shared.cc
+++ b/ppapi/shared_impl/ppb_video_decoder_shared.cc
@@ -16,15 +16,13 @@ namespace ppapi {
PPB_VideoDecoder_Shared::PPB_VideoDecoder_Shared(PP_Instance instance)
: Resource(OBJECT_IS_IMPL, instance),
graphics_context_(0),
- gles2_impl_(NULL) {
-}
+ gles2_impl_(NULL) {}
PPB_VideoDecoder_Shared::PPB_VideoDecoder_Shared(
const HostResource& host_resource)
: Resource(OBJECT_IS_PROXY, host_resource),
graphics_context_(0),
- gles2_impl_(NULL) {
-}
+ gles2_impl_(NULL) {}
PPB_VideoDecoder_Shared::~PPB_VideoDecoder_Shared() {
// Destroy() must be called before the object is destroyed.
@@ -73,8 +71,8 @@ bool PPB_VideoDecoder_Shared::SetResetCallback(
bool PPB_VideoDecoder_Shared::SetBitstreamBufferCallback(
int32 bitstream_buffer_id,
scoped_refptr<TrackedCallback> callback) {
- return bitstream_buffer_callbacks_.insert(
- std::make_pair(bitstream_buffer_id, callback)).second;
+ return bitstream_buffer_callbacks_.insert(std::make_pair(bitstream_buffer_id,
+ callback)).second;
}
void PPB_VideoDecoder_Shared::RunFlushCallback(int32 result) {
@@ -86,7 +84,8 @@ void PPB_VideoDecoder_Shared::RunResetCallback(int32 result) {
}
void PPB_VideoDecoder_Shared::RunBitstreamBufferCallback(
- int32 bitstream_buffer_id, int32 result) {
+ int32 bitstream_buffer_id,
+ int32 result) {
CallbackById::iterator it =
bitstream_buffer_callbacks_.find(bitstream_buffer_id);
DCHECK(it != bitstream_buffer_callbacks_.end());
« no previous file with comments | « ppapi/shared_impl/ppb_var_shared.cc ('k') | ppapi/shared_impl/ppb_view_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698