|
|
Created:
4 years, 10 months ago by hal.canary Modified:
4 years, 10 months ago CC:
reviews_skia.org Base URL:
https://skia.googlesource.com/skia.git@master Target Ref:
refs/heads/master Project:
skia Visibility:
Public. |
DescriptionSkDocument: remove use of SkTArray (part 1/3).
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1689683002
Committed: https://skia.googlesource.com/skia/+/7001576c7160e20c9c9db2fbe947408989027d66
Patch Set 1 #Patch Set 2 : 2016-02-10 (Wednesday) 11:31:01 EST #Patch Set 3 : 2016-02-10 (Wednesday) 11:39:50 EST #
Total comments: 3
Patch Set 4 : [] rather than * #Patch Set 5 : size_t -> int #
Messages
Total messages: 34 (13 generated)
Description was changed from ========== SkDocument: remove use of SkTArray (part 1/3). ========== to ========== SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ==========
halcanary@google.com changed reviewers: + bungeman@google.com, reed@google.com
PTAL part 2/3 is to switch chrome over to new interface. part 3/3 is to remove deprecated version.
The CQ bit was checked by halcanary@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689683002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689683002/1
Description was changed from ========== SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ========== to ========== SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ==========
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Ubuntu-GCC-Arm64-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Arm...) Build-Ubuntu-GCC-Mips-Debug-Android-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Ubuntu-GCC-Mip...)
The CQ bit was checked by halcanary@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689683002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689683002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_6...)
https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument.h File include/core/SkDocument.h (right): https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument... include/core/SkDocument.h:134: * std::vector<SkDocument::Attribute> info; If using vector here, should #include <vector>.
On 2016/02/10 at 16:46:48, bungeman wrote: > https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument.h > File include/core/SkDocument.h (right): > > https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument... > include/core/SkDocument.h:134: * std::vector<SkDocument::Attribute> info; > If using vector here, should #include <vector>. That was an example.
The CQ bit was checked by halcanary@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689683002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689683002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
we don't use std::vector in any other public headers, and we talked yesterday about not over-constraining the requirements (since the api never needs the stretchy nature of a vector). What about ptr/len ?
On 2016/02/10 at 19:04:39, reed wrote: > we don't use std::vector in any other public headers, and we talked yesterday about not over-constraining the requirements (since the api never needs the stretchy nature of a vector). What about ptr/len ? That's what I did. The *caller* could use a vector, or whatever else.
Doh! -- I was reading the comment, thinking it was code. My bad.
https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument.h File include/core/SkDocument.h (right): https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument... include/core/SkDocument.h:151: virtual void setMetadata(const SkDocument::Attribute* /* attributes */, skia style: const Type named_or_not[] int count
The CQ bit was checked by halcanary@google.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689683002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689683002/80001
https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument.h File include/core/SkDocument.h (right): https://codereview.chromium.org/1689683002/diff/40001/include/core/SkDocument... include/core/SkDocument.h:151: virtual void setMetadata(const SkDocument::Attribute* /* attributes */, On 2016/02/10 at 19:19:00, reed1 wrote: > skia style: > > const Type named_or_not[] > int count done
api lgtm
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm, though I of course prefer size_t... I demand the koon-ut-kal-if-fee! (Ok, maybe I'm not that determined.)
On 2016/02/11 at 15:49:23, bungeman wrote: > lgtm, though I of course prefer size_t... I demand the koon-ut-kal-if-fee! (Ok, maybe I'm not that determined.) I really don't care between int and size_t. leave me out of it.
The CQ bit was checked by halcanary@google.com
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1689683002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1689683002/80001
Message was sent while issue was closed.
Description was changed from ========== SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... ========== to ========== SkDocument: remove use of SkTArray (part 1/3). GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&is... Committed: https://skia.googlesource.com/skia/+/7001576c7160e20c9c9db2fbe947408989027d66 ==========
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as https://skia.googlesource.com/skia/+/7001576c7160e20c9c9db2fbe947408989027d66 |