summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history
diff options
context:
space:
mode:
authorjeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-30 22:46:44 +0000
committerjeanluc@chromium.org <jeanluc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-01-30 22:46:44 +0000
commitb70386476df8f11fbad872195f48518b20b20b41 (patch)
treea268e4a159d0ad9fd28afc0deaab18f0cc9d604a /chrome/browser/history
parent07eb4aae66c697e052a0bb04047d468bc441a22c (diff)
downloadchromium_src-b70386476df8f11fbad872195f48518b20b20b41.zip
chromium_src-b70386476df8f11fbad872195f48518b20b20b41.tar.gz
chromium_src-b70386476df8f11fbad872195f48518b20b20b41.tar.bz2
Add the include <iterator> or change the usage of back_inserter to avoid compilation errors in Visual Studio 2010. See http://blogs.msdn.com/b/vcblog/archive/2009/05/25/stl-breaking-changes-in-visual-studio-2010-beta-1.aspx for details.
BUG=71134 TEST=Run the related tests. Review URL: http://codereview.chromium.org/6260024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73118 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history')
-rw-r--r--chrome/browser/history/in_memory_url_index.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/history/in_memory_url_index.cc b/chrome/browser/history/in_memory_url_index.cc
index d60f7e2..9d2e925 100644
--- a/chrome/browser/history/in_memory_url_index.cc
+++ b/chrome/browser/history/in_memory_url_index.cc
@@ -5,6 +5,7 @@
#include "chrome/browser/history/in_memory_url_index.h"
#include <algorithm>
+#include <iterator>
#include <limits>
#include "base/i18n/break_iterator.h"