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

Issue 2630323002: [ScreenOrientation] Fix a possible crash point in ScreenOrientationProvider. (Closed)

Created:
3 years, 11 months ago by leonhsl(Using Gerrit)
Modified:
3 years, 11 months ago
CC:
chromium-reviews, darin-cc_chromium.org, jam, mlamouri+watch-screen-orientation_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ScreenOrientation] Fix a possible crash point in ScreenOrientationProvider. ScreenOrientation does not need to maintain pending lock request, just let ScreenOrientationProvider do that. BUG=678545 Review-Url: https://codereview.chromium.org/2630323002 Cr-Commit-Position: refs/heads/master@{#445321} Committed: https://chromium.googlesource.com/chromium/src/+/9aad73908ef510572cfe4504c36c2ece69438d1e

Patch Set 1 #

Total comments: 1

Patch Set 2 : ScreenOrientation does not maintain pending lock request #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -42 lines) Patch
M content/browser/screen_orientation/screen_orientation.h View 1 2 chunks +0 lines, -4 lines 0 comments Download
M content/browser/screen_orientation/screen_orientation.cc View 1 3 chunks +1 line, -23 lines 0 comments Download
M content/public/browser/screen_orientation_provider.h View 1 2 chunks +2 lines, -4 lines 0 comments Download
M content/public/browser/screen_orientation_provider.cc View 1 5 chunks +12 lines, -11 lines 2 comments Download

Messages

Total messages: 49 (32 generated)
leonhsl(Using Gerrit)
I found this while investigating for IPCs refactor of screen_orientation, PTAL, Thanks. https://codereview.chromium.org/2630323002/diff/1/content/public/browser/screen_orientation_provider.cc File content/public/browser/screen_orientation_provider.cc ...
3 years, 11 months ago (2017-01-16 11:00:19 UTC) #4
blundell
Thanks for noticing this! Do you think it would be more clear to add a ...
3 years, 11 months ago (2017-01-16 13:02:03 UTC) #7
leonhsl(Using Gerrit)
After further investigation I think we do not need to maintain the pending request in ...
3 years, 11 months ago (2017-01-17 06:22:30 UTC) #10
blundell
lgtm, thanks!
3 years, 11 months ago (2017-01-17 12:27:07 UTC) #13
leonhsl(Using Gerrit)
Friendly ping mlamouri@ for OWNER review, Thanks.
3 years, 11 months ago (2017-01-18 10:14:39 UTC) #14
mlamouri (slow - plz ping)
lgtm but can you add tests? :)
3 years, 11 months ago (2017-01-18 10:25:25 UTC) #15
leonhsl(Using Gerrit)
On 2017/01/18 10:25:25, mlamouri wrote: > lgtm but can you add tests? :) No problem, ...
3 years, 11 months ago (2017-01-19 04:40:31 UTC) #16
leonhsl(Using Gerrit)
Uploaded ps#3 to merge ScreenOrientation into ScreenOrientationProvider, PTAnL firstly while I'm considering how to add ...
3 years, 11 months ago (2017-01-22 09:35:34 UTC) #26
mlamouri (slow - plz ping)
On 2017/01/22 at 09:35:34, leon.han wrote: > Uploaded ps#3 to merge ScreenOrientation into ScreenOrientationProvider, PTAnL ...
3 years, 11 months ago (2017-01-23 01:14:20 UTC) #35
leonhsl(Using Gerrit)
On 2017/01/23 01:14:20, mlamouri wrote: > On 2017/01/22 at 09:35:34, leon.han wrote: > > Uploaded ...
3 years, 11 months ago (2017-01-23 02:03:40 UTC) #36
mlamouri (slow - plz ping)
On 2017/01/23 at 02:03:40, leon.han wrote: > On 2017/01/23 01:14:20, mlamouri wrote: > > On ...
3 years, 11 months ago (2017-01-23 02:13:51 UTC) #37
leonhsl(Using Gerrit)
+kinuko@, would you PTAL for OWNER review of content/public/browser/? Thanks.
3 years, 11 months ago (2017-01-23 02:29:04 UTC) #41
kinuko
lgtm
3 years, 11 months ago (2017-01-23 02:38:17 UTC) #42
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/2630323002/20001
3 years, 11 months ago (2017-01-23 02:39:35 UTC) #44
kinuko
https://codereview.chromium.org/2630323002/diff/20001/content/public/browser/screen_orientation_provider.cc File content/public/browser/screen_orientation_provider.cc (right): https://codereview.chromium.org/2630323002/diff/20001/content/public/browser/screen_orientation_provider.cc#newcode111 content/public/browser/screen_orientation_provider.cc:111: } nit: no need of block for one-line body
3 years, 11 months ago (2017-01-23 02:39:50 UTC) #45
leonhsl(Using Gerrit)
https://codereview.chromium.org/2630323002/diff/20001/content/public/browser/screen_orientation_provider.cc File content/public/browser/screen_orientation_provider.cc (right): https://codereview.chromium.org/2630323002/diff/20001/content/public/browser/screen_orientation_provider.cc#newcode111 content/public/browser/screen_orientation_provider.cc:111: } On 2017/01/23 02:39:50, kinuko wrote: > nit: no ...
3 years, 11 months ago (2017-01-23 02:47:10 UTC) #46
commit-bot: I haz the power
3 years, 11 months ago (2017-01-23 04:23:41 UTC) #49
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/9aad73908ef510572cfe4504c36c...

Powered by Google App Engine
This is Rietveld 408576698