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
This commit is contained in:
parent
fe23339bdd
commit
44c4d0e376
@ -11227,7 +11227,7 @@ template<typename Shape, typename Key>
|
|||||||
void Dictionary<Shape, Key>::CopyKeysTo(
|
void Dictionary<Shape, Key>::CopyKeysTo(
|
||||||
FixedArray* storage,
|
FixedArray* storage,
|
||||||
PropertyAttributes filter,
|
PropertyAttributes filter,
|
||||||
Dictionary<Shape, Key>::SortMode sort_mode) {
|
typename Dictionary<Shape, Key>::SortMode sort_mode) {
|
||||||
ASSERT(storage->length() >= NumberOfEnumElements());
|
ASSERT(storage->length() >= NumberOfEnumElements());
|
||||||
int capacity = HashTable<Shape, Key>::Capacity();
|
int capacity = HashTable<Shape, Key>::Capacity();
|
||||||
int index = 0;
|
int index = 0;
|
||||||
@ -11270,7 +11270,7 @@ void StringDictionary::CopyEnumKeysTo(FixedArray* storage,
|
|||||||
template<typename Shape, typename Key>
|
template<typename Shape, typename Key>
|
||||||
void Dictionary<Shape, Key>::CopyKeysTo(
|
void Dictionary<Shape, Key>::CopyKeysTo(
|
||||||
FixedArray* storage,
|
FixedArray* storage,
|
||||||
Dictionary<Shape, Key>::SortMode sort_mode) {
|
typename Dictionary<Shape, Key>::SortMode sort_mode) {
|
||||||
ASSERT(storage->length() >= NumberOfElementsFilterAttributes(
|
ASSERT(storage->length() >= NumberOfElementsFilterAttributes(
|
||||||
static_cast<PropertyAttributes>(NONE)));
|
static_cast<PropertyAttributes>(NONE)));
|
||||||
int capacity = HashTable<Shape, Key>::Capacity();
|
int capacity = HashTable<Shape, Key>::Capacity();
|
||||||
|
Loading…
Reference in New Issue
Block a user