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

Unified Diff: content/common/gpu/gpu_memory_allocation.h

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
Index: content/common/gpu/gpu_memory_allocation.h
diff --git a/content/common/gpu/gpu_memory_allocation.h b/content/common/gpu/gpu_memory_allocation.h
index cade6df940e92d5af7133c684e642cca2a73832c..ef00d2018f593a4f88a084dea3e03478193070e9 100644
--- a/content/common/gpu/gpu_memory_allocation.h
+++ b/content/common/gpu/gpu_memory_allocation.h
@@ -51,7 +51,7 @@ struct GpuMemoryAllocationForRenderer {
enforce_but_do_not_keep_as_policy(false) {
}
- GpuMemoryAllocationForRenderer(size_t bytes_limit_when_visible)
+ explicit GpuMemoryAllocationForRenderer(size_t bytes_limit_when_visible)
: bytes_limit_when_visible(bytes_limit_when_visible),
priority_cutoff_when_visible(kPriorityCutoffAllowEverything),
bytes_limit_when_not_visible(0),
@@ -82,7 +82,7 @@ struct GpuMemoryAllocationForBrowser {
: suggest_have_frontbuffer(false) {
}
- GpuMemoryAllocationForBrowser(bool suggest_have_frontbuffer)
+ explicit GpuMemoryAllocationForBrowser(bool suggest_have_frontbuffer)
: suggest_have_frontbuffer(suggest_have_frontbuffer) {
}
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | content/common/gpu/media/mac_video_decode_accelerator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698