Bug 1089643 - don't use decltype. r=smaug

This commit is contained in:
Tom Tromey
2014-10-27 07:04:00 +01:00
parent c1aeb3916a
commit 7d5632fd75

View File

@@ -2873,7 +2873,7 @@ nsDocShell::PopProfileTimelineMarkers(JSContext* aCx,
// If we see an unpaired START, we keep it around for the next call
// to PopProfileTimelineMarkers. We store the kept START objects in
// this array.
decltype(mProfileTimelineMarkers) keptMarkers;
nsTArray<InternalProfileTimelineMarker*> keptMarkers;
for (uint32_t i = 0; i < mProfileTimelineMarkers.Length(); ++i) {
ProfilerMarkerTracing* startPayload = static_cast<ProfilerMarkerTracing*>(