aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/codec
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2016-12-02 09:23:03 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-02 15:14:28 +0000
commit0dd698737ec1c631fd737eb4953d42632560bf4d (patch)
tree6810cbf81eda2eb00a6af077b31a177f5d7604c7 /include/codec
parent20471894eaa441193d5ae8f2395e8244c91c55af (diff)
Be explicit about the vector<FrameInfo> type
This fixes a compile error in Chromium. BUG=skia:6026 Change-Id: Idd5ad22cb52a084836de6e1427f1f047d1feab08 Reviewed-on: https://skia-review.googlesource.com/5500 Reviewed-by: Derek Sollenberger <djsollen@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'include/codec')
-rw-r--r--include/codec/SkCodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/codec/SkCodec.h b/include/codec/SkCodec.h
index ebc2b9ab1f..77f68fd761 100644
--- a/include/codec/SkCodec.h
+++ b/include/codec/SkCodec.h
@@ -778,7 +778,7 @@ protected:
virtual std::vector<FrameInfo> onGetFrameInfo() {
// empty vector - this is not animated.
- return {};
+ return std::vector<FrameInfo>{};
}
virtual int onGetRepetitionCount() {