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

Issue 7223048: Fixing crash in cloning empty SkPicture object (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 7 months ago by junov1
Modified:
11 years, 7 months ago
Reviewers:
junov, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Fixing crash in cloning empty SkPicture object BUG=https://code.google.com/p/chromium/issues/detail?id=172062 TEST=Pictures unit test, test_clone_empty Committed: https://code.google.com/p/skia/source/detail?r=7430

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -5 lines) Patch
M src/core/SkPicturePlayback.cpp View 1 4 chunks +6 lines, -5 lines 0 comments Download
M tests/PictureTest.cpp View 1 2 chunks +23 lines, -0 lines 0 comments Download

Messages

Total messages: 5
junov
PTAL
11 years, 7 months ago (2013-01-28 20:37:31 UTC) #1
reed1
https://codereview.appspot.com/7223048/diff/1/src/core/SkPicturePlayback.cpp File src/core/SkPicturePlayback.cpp (right): https://codereview.appspot.com/7223048/diff/1/src/core/SkPicturePlayback.cpp#newcode183 src/core/SkPicturePlayback.cpp:183: if (deepCopyInfo) { Can you use SafeCount() here? We ...
11 years, 7 months ago (2013-01-28 20:41:12 UTC) #2
reed1
https://codereview.appspot.com/7223048/diff/1/tests/PictureTest.cpp File tests/PictureTest.cpp (right): https://codereview.appspot.com/7223048/diff/1/tests/PictureTest.cpp#newcode397 tests/PictureTest.cpp:397: // Before the fix, we used to crash accessing ...
11 years, 7 months ago (2013-01-28 20:42:37 UTC) #3
junov
patch.
11 years, 7 months ago (2013-01-28 20:49:51 UTC) #4
reed1
11 years, 7 months ago (2013-01-28 20:58:14 UTC) #5
lgtm
Sign in to reply to this message.

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