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

Unified Diff: cc/debug/devtools_instrumentation.h

Issue 13051003: cpplint.py pass on cc/(base|debug|quads|resources)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix prioritized_resource_unittest Created 7 years, 9 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 | « cc/debug/debug_colors.cc ('k') | cc/debug/fake_web_graphics_context_3d.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/devtools_instrumentation.h
diff --git a/cc/debug/devtools_instrumentation.h b/cc/debug/devtools_instrumentation.h
index cfdd7dc1e97a996a5c6c633fb2f4c0890b535e29..4b2136672b34e50afe24ce7666e49385f5174f7b 100644
--- a/cc/debug/devtools_instrumentation.h
+++ b/cc/debug/devtools_instrumentation.h
@@ -18,7 +18,7 @@ const char kRasterTask[] = "RasterTask";
}
struct ScopedPaintLayer {
- ScopedPaintLayer(int layer_id) {
+ explicit ScopedPaintLayer(int layer_id) {
TRACE_EVENT_BEGIN1(internal::kCategory, internal::kPaintLayer,
internal::kLayerId, layer_id);
}
@@ -30,7 +30,7 @@ struct ScopedPaintLayer {
};
struct ScopedRasterTask {
- ScopedRasterTask(int layer_id) {
+ explicit ScopedRasterTask(int layer_id) {
TRACE_EVENT_BEGIN1(internal::kCategory, internal::kRasterTask,
internal::kLayerId, layer_id);
}
@@ -43,7 +43,7 @@ struct ScopedRasterTask {
struct ScopedLayerObjectTracker
: public base::debug::TraceScopedTrackableObject<int> {
- ScopedLayerObjectTracker(int layer_id)
+ explicit ScopedLayerObjectTracker(int layer_id)
: base::debug::TraceScopedTrackableObject<int>(
internal::kCategory,
internal::kLayerId,
« no previous file with comments | « cc/debug/debug_colors.cc ('k') | cc/debug/fake_web_graphics_context_3d.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698