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

Unified Diff: ui/views/paint_lock.h

Issue 10358013: views: Mark single-argument constructors as explicit. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 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 | « ui/views/examples/bubble_example.cc ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/paint_lock.h
diff --git a/ui/views/paint_lock.h b/ui/views/paint_lock.h
index 41e3083753d4070ece234ed5b8ee2aa5471ad839..23994193a5634b3d20e1f5c6a57ad0996a00a34b 100644
--- a/ui/views/paint_lock.h
+++ b/ui/views/paint_lock.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -22,7 +22,7 @@ class VIEWS_EXPORT PaintLock {
public:
// The paint lock does not own the view. It is an error for the view to be
// destroyed before the lock.
- PaintLock(View* view);
+ explicit PaintLock(View* view);
~PaintLock();
private:
« no previous file with comments | « ui/views/examples/bubble_example.cc ('k') | ui/views/touchui/touch_selection_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698