Add ArrayDataTraits<> specialization for Array_Data<T>*.
Currently, we use wrong storage type for nested arrays. For example, the storage type of the outer array of int8[][] is StructPointer<Array_Data<int8_t>>. After this CL it will be ArrayPointer<int8_t>. The current code works because StructPointer happens to be of the same size as ArrayPointer. (The newly-added tests pass with/without this CL. But I think it is good to have them.) BUG=None TEST=None Review URL: https://codereview.chromium.org/340223002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278356 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment