From 44c4d0e3761e945569eec512d4c49a9910b2f6be Mon Sep 17 00:00:00 2001 From: "kmillikin@chromium.org" Date: Fri, 8 Jul 2011 08:03:39 +0000 Subject: [PATCH] Fix compilation error. Compiler cannot recognize the typename in template declaration. Caught by MSVC. R=ricow@chromium.org Review URL: http://codereview.chromium.org/7237047 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8572 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/objects.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objects.cc b/src/objects.cc index 4e0416d..4d70b32 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -11227,7 +11227,7 @@ template void Dictionary::CopyKeysTo( FixedArray* storage, PropertyAttributes filter, - Dictionary::SortMode sort_mode) { + typename Dictionary::SortMode sort_mode) { ASSERT(storage->length() >= NumberOfEnumElements()); int capacity = HashTable::Capacity(); int index = 0; @@ -11270,7 +11270,7 @@ void StringDictionary::CopyEnumKeysTo(FixedArray* storage, template void Dictionary::CopyKeysTo( FixedArray* storage, - Dictionary::SortMode sort_mode) { + typename Dictionary::SortMode sort_mode) { ASSERT(storage->length() >= NumberOfElementsFilterAttributes( static_cast(NONE))); int capacity = HashTable::Capacity(); -- 2.7.4