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

Issue 1998073002: Move some ResourceClients for testing to Oilpan heap (Closed)

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

Description

Move some ResourceClients for testing to Oilpan heap This change moves the following classes to Oilpan heap. - MockResourceClient - MockImageResourceClient - DummyClient - AddingClient - RemovingClient - ServeRequetsOnCompleteClient - RequestSameResourceOnComplete All classes are for testing. BUG=587663 Committed: https://crrev.com/8781609dba554ba04a4b81fcb3ebc4c2c939c85f Cr-Commit-Position: refs/heads/master@{#395869}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+113 lines, -73 lines) Patch
M third_party/WebKit/Source/core/fetch/ImageResourceTest.cpp View 14 chunks +22 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MemoryCacheTest.cpp View 5 chunks +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.h View 3 chunks +7 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/MockResourceClients.cpp View 4 chunks +24 lines, -10 lines 2 comments Download
M third_party/WebKit/Source/core/fetch/RawResourceTest.cpp View 13 chunks +37 lines, -22 lines 0 comments Download
M third_party/WebKit/Source/core/fetch/ResourceFetcherTest.cpp View 1 2 6 chunks +17 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/ImageBitmapTest.cpp View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 18 (9 generated)
yhirano
I use Persistent instead of raw pointers because clients are held as raw pointers in ...
4 years, 7 months ago (2016-05-20 06:24:44 UTC) #4
haraken
LGTM https://codereview.chromium.org/1998073002/diff/40001/third_party/WebKit/Source/core/fetch/MockResourceClients.cpp File third_party/WebKit/Source/core/fetch/MockResourceClients.cpp (right): https://codereview.chromium.org/1998073002/diff/40001/third_party/WebKit/Source/core/fetch/MockResourceClients.cpp#newcode66 third_party/WebKit/Source/core/fetch/MockResourceClients.cpp:66: toImageResource(m_resource.get())->removeObserver(this); Not related to this CL, we might ...
4 years, 7 months ago (2016-05-20 07:37:39 UTC) #6
yhirano
https://codereview.chromium.org/1998073002/diff/40001/third_party/WebKit/Source/core/fetch/MockResourceClients.cpp File third_party/WebKit/Source/core/fetch/MockResourceClients.cpp (right): https://codereview.chromium.org/1998073002/diff/40001/third_party/WebKit/Source/core/fetch/MockResourceClients.cpp#newcode66 third_party/WebKit/Source/core/fetch/MockResourceClients.cpp:66: toImageResource(m_resource.get())->removeObserver(this); On 2016/05/20 07:37:38, haraken wrote: > > Not ...
4 years, 7 months ago (2016-05-20 07:45:46 UTC) #7
Nate Chapin
lgtm
4 years, 7 months ago (2016-05-23 21:57:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998073002/40001
4 years, 7 months ago (2016-05-25 05:25:04 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/227692)
4 years, 6 months ago (2016-05-25 10:55:09 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1998073002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1998073002/40001
4 years, 6 months ago (2016-05-25 10:55:38 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 6 months ago (2016-05-25 12:12:25 UTC) #16
commit-bot: I haz the power
4 years, 6 months ago (2016-05-25 12:14:14 UTC) #18
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/8781609dba554ba04a4b81fcb3ebc4c2c939c85f
Cr-Commit-Position: refs/heads/master@{#395869}

Powered by Google App Engine
This is Rietveld 408576698