From 3c4fc697e388737de181ed3b43c933b47815c317 Mon Sep 17 00:00:00 2001 From: "tfarina@chromium.org" Date: Fri, 4 May 2012 17:02:46 +0000 Subject: views: Mark single-argument constructors as explicit. This was reported by cpplint as: python ~/depot_tools/cpplint.py $(find ui/views/ -type f -name \*.cc) 2>&1 | grep -v "Done processing" | grep explicit R=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/10358013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135365 0039d316-1c4b-4281-b951-d872f2087c98 --- ui/views/touchui/touch_selection_controller_impl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ui/views/touchui/touch_selection_controller_impl.cc') diff --git a/ui/views/touchui/touch_selection_controller_impl.cc b/ui/views/touchui/touch_selection_controller_impl.cc index c9e9c07..b4f0508 100644 --- a/ui/views/touchui/touch_selection_controller_impl.cc +++ b/ui/views/touchui/touch_selection_controller_impl.cc @@ -89,7 +89,7 @@ namespace views { // A View that displays the text selection handle. class TouchSelectionControllerImpl::SelectionHandleView : public View { public: - SelectionHandleView(TouchSelectionControllerImpl* controller) + explicit SelectionHandleView(TouchSelectionControllerImpl* controller) : controller_(controller) { widget_.reset(CreateTouchSelectionPopupWidget()); widget_->SetContentsView(this); @@ -200,7 +200,7 @@ class TouchSelectionControllerImpl::TouchContextMenuView : public ButtonListener, public View { public: - TouchContextMenuView(TouchSelectionControllerImpl* controller) + explicit TouchContextMenuView(TouchSelectionControllerImpl* controller) : controller_(controller) { widget_.reset(CreateTouchSelectionPopupWidget()); widget_->SetContentsView(this); -- cgit v1.1