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

Issue 2463283002: Replace prepareToSuspend() with onMemoryStateChange(SUSPENDED) (Closed)

Created:
4 years, 1 month ago by bashi
Modified:
4 years, 1 month ago
Reviewers:
haraken, tasak
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Replace prepareToSuspend() with onMemoryStateChange(SUSPENDED) To simplify the API. BUG=617492 Committed: https://crrev.com/fa8801f66d8d2bba2cd293c01862fcacda898516 Cr-Commit-Position: refs/heads/master@{#428955}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Remove prepareToSuspend #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -24 lines) Patch
M third_party/WebKit/Source/core/dom/PendingScript.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/PendingScript.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.h View 1 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/fetch/Resource.cpp View 1 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/platform/MemoryCoordinator.h View 1 2 chunks +0 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/platform/MemoryCoordinator.cpp View 1 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp View 1 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/platform/WebMemoryCoordinator.h View 1 1 chunk +0 lines, -3 lines 2 comments Download

Messages

Total messages: 19 (10 generated)
bashi
Does this make sense to you guys?
4 years, 1 month ago (2016-11-01 05:07:29 UTC) #4
haraken
I agree that we need this change, but would it make more sense to rewrite ...
4 years, 1 month ago (2016-11-01 05:13:15 UTC) #5
bashi
On 2016/11/01 05:13:15, haraken wrote: > I agree that we need this change, but would ...
4 years, 1 month ago (2016-11-01 05:32:23 UTC) #6
bashi
On 2016/11/01 05:32:23, bashi1 (slow) wrote: > On 2016/11/01 05:13:15, haraken wrote: > > I ...
4 years, 1 month ago (2016-11-01 05:45:46 UTC) #9
haraken
LGTM https://codereview.chromium.org/2463283002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2463283002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode56 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:56: } else { Why do we need the ...
4 years, 1 month ago (2016-11-01 06:21:29 UTC) #11
bashi
https://codereview.chromium.org/2463283002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp File third_party/WebKit/Source/platform/MemoryCoordinator.cpp (right): https://codereview.chromium.org/2463283002/diff/1/third_party/WebKit/Source/platform/MemoryCoordinator.cpp#newcode56 third_party/WebKit/Source/platform/MemoryCoordinator.cpp:56: } else { On 2016/11/01 06:21:29, haraken wrote: > ...
4 years, 1 month ago (2016-11-01 06:31:06 UTC) #12
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/2463283002/20001
4 years, 1 month ago (2016-11-01 06:31:31 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-11-01 07:21:55 UTC) #17
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 07:24:23 UTC) #19
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fa8801f66d8d2bba2cd293c01862fcacda898516
Cr-Commit-Position: refs/heads/master@{#428955}

Powered by Google App Engine
This is Rietveld 408576698