Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Issue 181703003: Factory methods for heap-allocated SkAnnotation objects. (Closed)

Created:
6 years, 10 months ago by Dominik Grewe
Modified:
6 years, 9 months ago
Reviewers:
scroggo, mtklein, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Factory methods for heap-allocated SkAnnotation objects. This is part of an effort to ensure that all SkPaint effects can only be allocated on the heap. This patch makes the constructors of SkAnnotation non-public and instead provides factory methods for creating these objects on the heap. BUG=skia:2187 Committed: http://code.google.com/p/skia/source/detail?r=13605

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -6 lines) Patch
M include/core/SkAnnotation.h View 1 chunk +11 lines, -2 lines 0 comments Download
M src/core/SkAnnotation.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/core/SkPaint.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/pipe/SkGPipeRead.cpp View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6 (0 generated)
Dominik Grewe
Afaict SkAnnotation isn't used anywhere in Chrome/Blink or Android, so I've not used any guards ...
6 years, 10 months ago (2014-02-26 18:38:02 UTC) #1
reed1
API lgtm
6 years, 10 months ago (2014-02-26 18:40:44 UTC) #2
scroggo
lgtm
6 years, 10 months ago (2014-02-26 18:44:31 UTC) #3
Dominik Grewe
The CQ bit was checked by dominikg@chromium.org
6 years, 9 months ago (2014-02-27 11:33:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/dominikg@chromium.org/181703003/1
6 years, 9 months ago (2014-02-27 11:34:03 UTC) #5
commit-bot: I haz the power
6 years, 9 months ago (2014-02-27 11:47:40 UTC) #6
Message was sent while issue was closed.
Change committed as 13605

Powered by Google App Engine
This is Rietveld 408576698