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

Issue 6550046: views: Delete arrays throughout using SkDELETE_ARRAY macro. (Closed)

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

Description

views: Delete arrays throughout using SkDELETE_ARRAY macro. R=epoger@google.org

Patch Set 1 #

Patch Set 2 : #

Total comments: 3

Patch Set 3 : SkNEW_ARRAY #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -29 lines) Patch
M src/views/animated/SkListView.cpp View 1 2 6 chunks +6 lines, -6 lines 0 comments Download
M src/views/animated/SkListWidget.cpp View 1 2 16 chunks +20 lines, -23 lines 0 comments Download

Messages

Total messages: 7
tfarina1
11 years, 8 months ago (2012-09-20 16:05:52 UTC) #1
epoger
Adding Mike Reed, because I have some very basic concerns about this code BEFORE these ...
11 years, 8 months ago (2012-09-20 18:56:35 UTC) #2
reed1
SkListView has all of its code inside #if 0 I think, so we can't test ...
11 years, 8 months ago (2012-09-20 19:31:08 UTC) #3
tfarina1
On 2012/09/20 19:31:08, reed1 wrote: > SkListView has all of its code inside #if 0 ...
11 years, 8 months ago (2012-09-21 01:01:05 UTC) #4
reed1
That *looks* better, but as we don't ever build the first file, I don't understand ...
11 years, 8 months ago (2012-09-21 12:30:36 UTC) #5
tfarina1
On Fri, Sep 21, 2012 at 9:30 AM, <reed@google.com> wrote: > That *looks* better, but ...
11 years, 8 months ago (2012-09-21 12:50:02 UTC) #6
epoger
11 years, 7 months ago (2012-09-25 18:29:02 UTC) #7
This CL has been rendered moot by the following CLs, so please close it:
- https://code.google.com/p/skia/source/detail?r=5667 ("Delete SkListView.cpp,
which has been #ifdef'ed out for 4+ years")
- https://code.google.com/p/skia/source/detail?r=5668 ("Remove SkListWidget.cpp,
which has not been compiled for 18 months")

Looking at the broader picture, though, I would like to echo Mike's comments. 
In general, we should not make changes to files that are not exercised by tests.
 If the file is worth changing, it's worth adding it to the tests first.
Sign in to reply to this message.

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