Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(1524)

Issue 6392044: Fixed Windows compiler complaints (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 6 months ago by robertphillips
Modified:
12 years, 6 months ago
Reviewers:
bungeman, reed1, TomH
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Patch Set 1 #

Total comments: 3

Patch Set 2 : Switched from using SkAutoTUnref to SkAutoDataUnref #

Patch Set 3 : Switched back to SkAutoTUnref w/friending in SkData #

Total comments: 2

Patch Set 4 : Removed data, bytes, size calls from SkAutoDataUnref #

Patch Set 5 : Removed cruft from SkAutoDataUnref #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -58 lines) Patch
M include/core/SkData.h View 1 2 3 4 2 chunks +12 lines, -19 lines 0 comments Download
M include/gpu/GrScalar.h View 1 chunk +1 line, -1 line 0 comments Download
M samplecode/SampleApp.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/animator/SkScriptTokenizer.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/gpu/GrDrawTarget.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrPathUtils.cpp View 2 chunks +9 lines, -5 lines 0 comments Download
M src/gpu/gl/GrGpuGL_program.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFDevice.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pdf/SkPDFImage.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M src/pipe/SkGPipeWrite.cpp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/views/SkTouchGesture.cpp View 5 chunks +7 lines, -7 lines 0 comments Download
M tests/FlateTest.cpp View 1 2 3 1 chunk +5 lines, -3 lines 0 comments Download
M tests/PDFPrimitivesTest.cpp View 1 2 3 2 chunks +7 lines, -7 lines 0 comments Download
M tests/PathMeasureTest.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/ToUnicode.cpp View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tools/bench_pictures_main.cpp View 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 8
robertphillips
http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24 include/core/SkData.h:24: Was generating error: \include\core\skrefcnt.h(161): warning C4624: 'SkAutoTUnref<T>::BlockRef<B>' : destructor ...
12 years, 6 months ago (2012-07-10 13:14:51 UTC) #1
TomH
Aside from the below, LGTM. http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24 include/core/SkData.h:24: On 2012/07/10 13:14:51, robertphillips ...
12 years, 6 months ago (2012-07-10 13:24:16 UTC) #2
robertphillips
Adding Ben & Mike for the SkData.h changes. http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/1/include/core/SkData.h#newcode24 include/core/SkData.h:24: As ...
12 years, 6 months ago (2012-07-10 14:56:30 UTC) #3
reed1
good comment on the friend. http://codereview.appspot.com/6392044/diff/4002/include/core/SkData.h File include/core/SkData.h (right): http://codereview.appspot.com/6392044/diff/4002/include/core/SkData.h#newcode157 include/core/SkData.h:157: If we're going to ...
12 years, 6 months ago (2012-07-10 15:04:03 UTC) #4
robertphillips
I believe the data, size & bytes changes are safe due to the calls to ...
12 years, 6 months ago (2012-07-10 15:59:53 UTC) #5
reed1
Hmmm, I see that the old code for data/bytes/size handled a null object. Are the ...
12 years, 6 months ago (2012-07-10 16:25:47 UTC) #6
reed1
lgtm
12 years, 6 months ago (2012-07-10 16:27:01 UTC) #7
robertphillips
12 years, 6 months ago (2012-07-10 17:31:21 UTC) #8
committed as r4511
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b