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

Unified Diff: ui/views/examples/bubble_example.cc

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/controls/throbber.h ('k') | ui/views/paint_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/bubble_example.cc
diff --git a/ui/views/examples/bubble_example.cc b/ui/views/examples/bubble_example.cc
index c562315886509258fdfe17ff98a3742434bde060..caa245770166f1e6b54c9bc46fe953e3859caff2 100644
--- a/ui/views/examples/bubble_example.cc
+++ b/ui/views/examples/bubble_example.cc
@@ -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.
@@ -37,7 +37,7 @@ BubbleConfig kFadeOutConfig = { ASCIIToUTF16("FadeOut"), SK_ColorWHITE, NULL,
class ExampleBubbleDelegateView : public BubbleDelegateView {
public:
- ExampleBubbleDelegateView(const BubbleConfig& config)
+ explicit ExampleBubbleDelegateView(const BubbleConfig& config)
: BubbleDelegateView(config.anchor_view, config.arrow),
label_(config.label) {
set_color(config.color);
« no previous file with comments | « ui/views/controls/throbber.h ('k') | ui/views/paint_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698