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

Issue 246023008: Deprecate SaveFlags use in the public SkCanvas API. (Closed)

Created:
6 years, 8 months ago by f(malita)
Modified:
6 years, 8 months ago
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

Deprecate SaveFlags use in the public SkCanvas API. Because we still have internal users for now (to support the deprecated mode), this CL introduces an external-only variant of deprecation. Chromium is no longer using the deprecated methods, but Android may need to suppress SK_ATTR_EXTERNALLY_DEPRECATED warnings. R=reed@google.com,robertphillips@google.com,scroggo@google.com Committed: http://code.google.com/p/skia/source/detail?r=14367

Patch Set 1 #

Total comments: 2

Patch Set 2 : Disable deprecation warnings for skia_android_framework. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+72 lines, -6 lines) Patch
M gyp/common.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M gyp/common_conditions.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download
M include/core/SkCanvas.h View 1 4 chunks +47 lines, -5 lines 0 comments Download
M include/core/SkPostConfig.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/core/SkCanvas.cpp View 1 3 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 13 (0 generated)
f(malita)
Alternative to https://codereview.chromium.org/249253003/.
6 years, 8 months ago (2014-04-23 16:46:10 UTC) #1
reed1
lgtm In a future CL, could we actually rename the deprecated methods, to make them ...
6 years, 8 months ago (2014-04-23 17:06:00 UTC) #2
mtklein
lgtm I guess we do this first, then wean the existing callers, finally ending up ...
6 years, 8 months ago (2014-04-23 17:43:12 UTC) #3
scroggo
IIRC correctly, having Android call a deprecated function will break the build. If you add ...
6 years, 8 months ago (2014-04-23 17:55:40 UTC) #4
f(malita)
On 2014/04/23 17:55:40, scroggo wrote: > IIRC correctly, having Android call a deprecated function will ...
6 years, 8 months ago (2014-04-23 18:08:24 UTC) #5
scroggo
On 2014/04/23 18:08:24, Florin Malita wrote: > On 2014/04/23 17:55:40, scroggo wrote: > > IIRC ...
6 years, 8 months ago (2014-04-23 18:19:32 UTC) #6
reed1
On 2014/04/23 18:19:32, scroggo wrote: > On 2014/04/23 18:08:24, Florin Malita wrote: > > On ...
6 years, 8 months ago (2014-04-23 18:23:11 UTC) #7
f(malita)
Updated to disable deprecation warnings for skia_android_framework. Leon PTAL. Thanks! https://codereview.chromium.org/246023008/diff/1/src/core/SkCanvas.cpp File src/core/SkCanvas.cpp (right): https://codereview.chromium.org/246023008/diff/1/src/core/SkCanvas.cpp#newcode929 ...
6 years, 8 months ago (2014-04-24 20:39:22 UTC) #8
scroggo
lgtm
6 years, 8 months ago (2014-04-24 20:41:25 UTC) #9
f(malita)
The CQ bit was checked by fmalita@chromium.org
6 years, 8 months ago (2014-04-24 20:45:59 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/246023008/20001
6 years, 8 months ago (2014-04-24 20:46:31 UTC) #11
f(malita)
On 2014/04/23 17:06:00, reed1 wrote: > lgtm > > In a future CL, could we ...
6 years, 8 months ago (2014-04-24 20:46:57 UTC) #12
commit-bot: I haz the power
6 years, 8 months ago (2014-04-24 21:52:09 UTC) #13
Message was sent while issue was closed.
Change committed as 14367

Powered by Google App Engine
This is Rietveld 408576698