Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Issue 2202173002: Refactoring: Make Resource::m_data private (Closed)

Created:
4 years, 4 months ago by hajimehoshi
Modified:
4 years, 4 months ago
Reviewers:
hiroshige, Mike West
CC:
blink-reviews, blink-reviews-style_chromium.org, chromium-reviews, gavinp+loader_chromium.org, Nate Chapin, loading-reviews+fetch_chromium.org, tyoshino+watch_chromium.org, Yoav Weiss
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Refactoring: Make Resource::m_data private This CL makes Resource::m_data private to improve code health. After this CL, all protected member vairables in Resource will be changed to private. BUG=n/a TEST=webkit_unit_tests Committed: https://crrev.com/8954d05887aba9640fa2621329622dfc2a0ba013 Cr-Commit-Position: refs/heads/master@{#410013}

Patch Set 1 #

Patch Set 2 : impl #

Patch Set 3 : Address on hiroshige's review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -37 lines) Patch
M third_party/WebKit/Source/core/fetch/CSSStyleSheetResource.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/DocumentResource.cpp View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/FontResource.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ImageResource.cpp View 1 2 9 chunks +16 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/RawResource.cpp View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/ScriptResource.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/TextResource.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/XSLStyleSheetResource.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 24 (13 generated)
hajimehoshi
PTAL
4 years, 4 months ago (2016-08-02 08:25:39 UTC) #4
hiroshige
1. Replacing m_data with resourceBuffer() in many locations introduces additional ref()/deref()s to SharedBuffer, because resourceBuffer() ...
4 years, 4 months ago (2016-08-02 08:37:09 UTC) #5
hajimehoshi
On 2016/08/02 08:37:09, hiroshige wrote: > 1. Replacing m_data with resourceBuffer() in many locations introduces ...
4 years, 4 months ago (2016-08-02 08:44:40 UTC) #6
hajimehoshi
PTAL
4 years, 4 months ago (2016-08-03 07:00:11 UTC) #9
hiroshige
On 2016/08/03 07:00:11, hajimehoshi wrote: > PTAL lgtm.
4 years, 4 months ago (2016-08-03 07:28:35 UTC) #12
Mike West
LGTM.
4 years, 4 months ago (2016-08-04 12:42:03 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2202173002/40001
4 years, 4 months ago (2016-08-05 05:01:46 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/116788)
4 years, 4 months ago (2016-08-05 06:46:38 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2202173002/40001
4 years, 4 months ago (2016-08-05 06:58:31 UTC) #21
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 4 months ago (2016-08-05 07:29:08 UTC) #22
commit-bot: I haz the power
4 years, 4 months ago (2016-08-05 07:32:59 UTC) #24
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8954d05887aba9640fa2621329622dfc2a0ba013
Cr-Commit-Position: refs/heads/master@{#410013}

Powered by Google App Engine
This is Rietveld 408576698