New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 729015 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Aug 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

Refactor to make ReadingListModel* to remove the naked pointer

Project Member Reported by linds...@chromium.org, Jun 2 2017

Issue description

Came up in review of ARC conversion CL https://codereview.chromium.org/2888163004/. Raw pointers in C++ aren't desirable so we should refactor that at some point.
 
Summary: Refactor to make ReadingListModel* to remove the naked pointer (was: Refactor to make ReadingListModel* weak pointer into a strong pointer)
Owner: olivierrobin@chromium.org
Status: Assigned (was: Available)
What should it be replaced with?
Is this part of a bigger cleanup? I see lots of raw pointers in the code.
Project Member

Comment 4 by bugdroid1@chromium.org, Aug 23 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8acc525454f1ad2fbd9347434462e26c3c0be63c

commit 8acc525454f1ad2fbd9347434462e26c3c0be63c
Author: Olivier Robin <olivierrobin@chromium.org>
Date: Wed Aug 23 14:14:53 2017

Remove Todo 729015

This is a C++ object in an observer. It can stay naked.

Bug:  729015 
Change-Id: I89dc609e618c6a719610def75c322354e455aaf9
Reviewed-on: https://chromium-review.googlesource.com/628539
Reviewed-by: Eric Noyau <noyau@chromium.org>
Commit-Queue: Olivier Robin <olivierrobin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#496679}
[modify] https://crrev.com/8acc525454f1ad2fbd9347434462e26c3c0be63c/components/reading_list/ios/reading_list_model_bridge_observer.h

Status: WontFix (was: Assigned)

Sign in to add a comment