summaryrefslogtreecommitdiffstats
path: root/chrome/browser/bookmarks/bookmark_model.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 09:42:39 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-20 09:42:39 +0000
commit67a8ae45b5144791a01eac231a98201782ed7ae8 (patch)
tree0319e8868f625b9a753593280a117573f6e3dace /chrome/browser/bookmarks/bookmark_model.cc
parentf1ec40571a92e90be3dad90f215d3e32aa60e1c5 (diff)
downloadchromium_src-67a8ae45b5144791a01eac231a98201782ed7ae8.zip
chromium_src-67a8ae45b5144791a01eac231a98201782ed7ae8.tar.gz
chromium_src-67a8ae45b5144791a01eac231a98201782ed7ae8.tar.bz2
bookmarks: Fix var name typo in BookmarkModel::Copy().
Local variables should be hack_style and do not need trailing underscore (_). The use of trailing underscore is reserved to data member variables (aka fields). BUG=None TEST=None TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/15423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201059 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/bookmarks/bookmark_model.cc')
-rw-r--r--chrome/browser/bookmarks/bookmark_model.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/bookmarks/bookmark_model.cc b/chrome/browser/bookmarks/bookmark_model.cc
index 6adf04a..24e2b9e 100644
--- a/chrome/browser/bookmarks/bookmark_model.cc
+++ b/chrome/browser/bookmarks/bookmark_model.cc
@@ -378,8 +378,8 @@ void BookmarkModel::Copy(const BookmarkNode* node,
}
SetDateFolderModified(new_parent, Time::Now());
- BookmarkNodeData drag_data_(node);
- std::vector<BookmarkNodeData::Element> elements(drag_data_.elements);
+ BookmarkNodeData drag_data(node);
+ std::vector<BookmarkNodeData::Element> elements(drag_data.elements);
// CloneBookmarkNode will use BookmarkModel methods to do the job, so we
// don't need to send notifications here.
bookmark_utils::CloneBookmarkNode(this, elements, new_parent, index);