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

Unified Diff: content/common/gpu/media/mac_video_decode_accelerator.mm

Issue 11419224: Add missing (and remove superfluous) 'explicit' from constructors. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + remove non-straightforward changes Created 7 years, 11 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 | « content/common/gpu/gpu_memory_allocation.h ('k') | content/common/inter_process_time_ticks_converter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/gpu/media/mac_video_decode_accelerator.mm
diff --git a/content/common/gpu/media/mac_video_decode_accelerator.mm b/content/common/gpu/media/mac_video_decode_accelerator.mm
index ed8f2e6649be6c1b8a9fc5615f8ff35d844a2c3e..ed5a8729e08aebcd87650eed901c705851e70593 100644
--- a/content/common/gpu/media/mac_video_decode_accelerator.mm
+++ b/content/common/gpu/media/mac_video_decode_accelerator.mm
@@ -34,7 +34,7 @@ enum { kNumPictureBuffers = 4 };
class ScopedContextSetter {
public:
- ScopedContextSetter(CGLContextObj context)
+ explicit ScopedContextSetter(CGLContextObj context)
: old_context_(NULL),
did_succeed_(false) {
old_context_ = CGLGetCurrentContext();
« no previous file with comments | « content/common/gpu/gpu_memory_allocation.h ('k') | content/common/inter_process_time_ticks_converter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698