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

Issue 2588663002: Remove unnecessary LifecycleObserver::clearContext (Closed)

Created:
4 years ago by haraken
Modified:
4 years ago
Reviewers:
sof
CC:
chromium-reviews, blink-reviews, mlamouri+watch-blink_chromium.org, haraken, timvolodine, mvanouwerkerk+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove unnecessary LifecycleObserver::clearContext LifecycleObserver::clearContext is automatically called immediately after contextDestroyed() gets called. The caller side doesn't need to call clearContext explicitly. BUG=610176 Committed: https://crrev.com/476bd13c7171fffc2c991495970dcaecfa8ddf69 Cr-Commit-Position: refs/heads/master@{#439431}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -9 lines) Patch
M third_party/WebKit/Source/modules/geolocation/Geolocation.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/vibration/VibrationController.cpp View 1 chunk +0 lines, -7 lines 1 comment Download

Messages

Total messages: 11 (5 generated)
haraken
PTAL
4 years ago (2016-12-19 06:10:59 UTC) #2
haraken
https://codereview.chromium.org/2588663002/diff/1/third_party/WebKit/Source/modules/vibration/VibrationController.cpp File third_party/WebKit/Source/modules/vibration/VibrationController.cpp (left): https://codereview.chromium.org/2588663002/diff/1/third_party/WebKit/Source/modules/vibration/VibrationController.cpp#oldcode186 third_party/WebKit/Source/modules/vibration/VibrationController.cpp:186: PageVisibilityObserver::clearContext(); Some objects inherit from both ContextLifecycleObserver and PageVisibilityObserver. ...
4 years ago (2016-12-19 06:13:13 UTC) #3
sof
lgtm Older code based on earlier lifecycle observer&notifiers, good thing to remove so that new ...
4 years ago (2016-12-19 06:29:09 UTC) #4
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/2588663002/1
4 years ago (2016-12-19 06:44:59 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-12-19 08:10:27 UTC) #9
commit-bot: I haz the power
4 years ago (2016-12-19 08:12:39 UTC) #11
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/476bd13c7171fffc2c991495970dcaecfa8ddf69
Cr-Commit-Position: refs/heads/master@{#439431}

Powered by Google App Engine
This is Rietveld 408576698