switch SkTDArray from push to push_back
Bug: skia:
Change-Id: I5d7252cf67a201612813597047f1ea3584c57854
Reviewed-on: https://skia-review.googlesource.com/146386
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/gpu/vk/GrVkCaps.cpp b/src/gpu/vk/GrVkCaps.cpp
index 28440b1..95b5712 100644
--- a/src/gpu/vk/GrVkCaps.cpp
+++ b/src/gpu/vk/GrVkCaps.cpp
@@ -583,29 +583,29 @@
&properties));
VkSampleCountFlags flags = properties.sampleCounts;
if (flags & VK_SAMPLE_COUNT_1_BIT) {
- fColorSampleCounts.push(1);
+ fColorSampleCounts.push_back(1);
}
if (kImagination_VkVendor == physProps.vendorID) {
// MSAA does not work on imagination
return;
}
if (flags & VK_SAMPLE_COUNT_2_BIT) {
- fColorSampleCounts.push(2);
+ fColorSampleCounts.push_back(2);
}
if (flags & VK_SAMPLE_COUNT_4_BIT) {
- fColorSampleCounts.push(4);
+ fColorSampleCounts.push_back(4);
}
if (flags & VK_SAMPLE_COUNT_8_BIT) {
- fColorSampleCounts.push(8);
+ fColorSampleCounts.push_back(8);
}
if (flags & VK_SAMPLE_COUNT_16_BIT) {
- fColorSampleCounts.push(16);
+ fColorSampleCounts.push_back(16);
}
if (flags & VK_SAMPLE_COUNT_32_BIT) {
- fColorSampleCounts.push(32);
+ fColorSampleCounts.push_back(32);
}
if (flags & VK_SAMPLE_COUNT_64_BIT) {
- fColorSampleCounts.push(64);
+ fColorSampleCounts.push_back(64);
}
}