New issue
Advanced search Search tips

Issue 781740 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Task



Sign in to add a comment

Remove RefPtr.h

Project Member Reported by tzik@chromium.org, Nov 6 2017

Issue description

After WTF::RefPtr is removed in  http://crbug.com/763844 , we will be able to remove platform/wtf/RefPtr.h too.

Possible steps to clean up remainings:
1. Update third_party/WebKit/PRESUBMIT.py to allow base::AdoptRef and base::WrapRefCounted.
2. Update callers of WTF::WrapRefPtr to use base::WrapRefCounted.
3. Update callers of WTF::AdoptRef to use base::AdoptRef.
4. Remove RefPtr.h.

 
Owner: shanmug...@samsung.com
Status: Started (was: Available)
Owner: ----
Status: Available (was: Started)
seem Gyuyoung Kim already working on this bug. :)
yes, I'm working on it with tzik@ and haraken@'s review.
Project Member

Comment 4 by bugdroid1@chromium.org, Nov 10 2017

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

commit 9bf0c50f81a15631a30cc47269f80c20ded4f468
Author: Gyuyoung Kim <gyuyoung.kim@lge.com>
Date: Fri Nov 10 16:35:17 2017

Remove using-directive base::AdoptRef and base::WrapRefCounted in wtf/RefPtr.h

RefPtr.h will be removed eventually by  issue 781740 . So it would be good to use
base:: namespace for AdoptRef and WrapRefCounted that don't use base namespace
directly. This CL adds base:: namespace to them, and removes using base::AdoptRef
and using base::WrapRefCounted in RefPtr.h.

Bug:  781740 
Change-Id: Ibb7db7dc838c7c52f71d83f36c08382254214cd0
Reviewed-on: https://chromium-review.googlesource.com/762541
Reviewed-by: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Commit-Queue: Gyuyoung Kim <gyuyoung.kim@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515566}
[modify] https://crrev.com/9bf0c50f81a15631a30cc47269f80c20ded4f468/third_party/WebKit/Source/platform/wtf/RefPtr.h
[modify] https://crrev.com/9bf0c50f81a15631a30cc47269f80c20ded4f468/third_party/WebKit/Source/platform/wtf/text/AtomicStringTable.cpp
[modify] https://crrev.com/9bf0c50f81a15631a30cc47269f80c20ded4f468/third_party/WebKit/Source/platform/wtf/text/StringImpl.cpp
[modify] https://crrev.com/9bf0c50f81a15631a30cc47269f80c20ded4f468/third_party/WebKit/Source/platform/wtf/text/StringStatics.cpp

Owner: gyuyoung...@chromium.org
Status: Started (was: Available)
Status: Fixed (was: Started)
tzik@ and kentaro@, I think we can close this issue. I marked it to Fixed. If there is any issue on it, please let me know.

Sign in to add a comment