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

Issue 17101005: Rename SkDrawCommand subclasses (Closed)

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

Description

Rename SkDrawCommand subclasses SkDrawCommand subclass names are too generic and likely to clash in the default namespace. This makes the header unusable in Chrome - for example, on Mac builders: ../../third_party/skia/src/utils/debugger/SkDrawCommand.h:251:7: error: redefinition of 'Comment' class Comment : public SkDrawCommand { ^ /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/AIFF.h:192:8: note: previous definition is here struct Comment { This CL renames SkDrawCommand subclasses using the following pattern: "${cmd}" -> "Sk${cmd}Command". R=robertphillips@google.com,reed@google.com Committed: http://code.google.com/p/skia/source/detail?r=9667

Patch Set 1 #

Patch Set 2 : SkDrawCommand subclasses rename only. #

Total comments: 17

Patch Set 3 : Updated per review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+291 lines, -259 lines) Patch
M src/utils/debugger/SkDebugCanvas.cpp View 1 2 1 chunk +38 lines, -36 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.h View 1 2 35 chunks +85 lines, -88 lines 0 comments Download
M src/utils/debugger/SkDrawCommand.cpp View 1 2 31 chunks +100 lines, -100 lines 0 comments Download
M tools/filtermain.cpp View 1 15 chunks +68 lines, -35 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
f(malita)
7 years, 6 months ago (2013-06-14 22:07:50 UTC) #1
f(malita)
Ping - this is blocking https://codereview.chromium.org/15967010/.
7 years, 6 months ago (2013-06-18 18:19:28 UTC) #2
reed1
removing self from reviewer list (out of total ignorance). Reviewers: please review!
7 years, 6 months ago (2013-06-18 18:29:43 UTC) #3
robertphillips
lgtm + nits https://codereview.chromium.org/17101005/diff/3001/src/utils/debugger/SkDebugCanvas.cpp File src/utils/debugger/SkDebugCanvas.cpp (right): https://codereview.chromium.org/17101005/diff/3001/src/utils/debugger/SkDebugCanvas.cpp#newcode386 src/utils/debugger/SkDebugCanvas.cpp:386: addDrawCommand(new SkDrawVerticesCommand(vmode, vertexCount, vertices, please indent ...
7 years, 6 months ago (2013-06-18 19:36:29 UTC) #4
f(malita)
On 2013/06/18 19:36:29, robertphillips wrote: > lgtm + nits > Thanks Rob, will do.
7 years, 6 months ago (2013-06-18 19:43:24 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/fmalita@chromium.org/17101005/14001
7 years, 6 months ago (2013-06-18 20:09:32 UTC) #6
commit-bot: I haz the power
7 years, 6 months ago (2013-06-18 20:20:58 UTC) #7
Message was sent while issue was closed.
Change committed as 9667

Powered by Google App Engine
This is Rietveld 408576698