diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 17:02:46 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-04 17:02:46 +0000 |
commit | 3c4fc697e388737de181ed3b43c933b47815c317 (patch) | |
tree | 9fe58b68820ef194cda6a8279084634260dd679a /ui/views/touchui/touch_selection_controller_impl.cc | |
parent | 98953b1f14763e23fa0b83fa53f01806b5bd5d87 (diff) | |
download | chromium_src-3c4fc697e388737de181ed3b43c933b47815c317.zip chromium_src-3c4fc697e388737de181ed3b43c933b47815c317.tar.gz chromium_src-3c4fc697e388737de181ed3b43c933b47815c317.tar.bz2 |
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
Diffstat (limited to 'ui/views/touchui/touch_selection_controller_impl.cc')
-rw-r--r-- | ui/views/touchui/touch_selection_controller_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |