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

Issue 37863002: Update GeolocationController to call startUpdating() / stopUpdating() only if needed (Closed)

Created:
7 years, 2 months ago by Inactive
Modified:
7 years, 2 months ago
CC:
blink-reviews, adamk, jsbell
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Update GeolocationController to call startUpdating() / stopUpdating() only if needed Update GeolocationController to call startUpdating() / stopUpdating() only if needed as some clients (e.g. the geolocation mock client) do not accept consecutive calls to either of these methods. This was done by introducing startUpdatingIfNeeded() / stopUpdatingIfNeeded() private methods which update a boolean flag to avoid useless calls. This fixes a possible assertion hit in Debug. R=jochen BUG=310326 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=160480

Patch Set 1 #

Patch Set 2 : No change #

Patch Set 3 : Unskip test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -8 lines) Patch
M LayoutTests/TestExpectations View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.h View 3 chunks +4 lines, -2 lines 0 comments Download
M Source/modules/geolocation/GeolocationController.cpp View 4 chunks +21 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Inactive
7 years, 2 months ago (2013-10-23 20:39:47 UTC) #1
Inactive
7 years, 2 months ago (2013-10-23 21:53:27 UTC) #2
jsbell
FWIW, fixes the issue on my win7 box.
7 years, 2 months ago (2013-10-23 22:35:29 UTC) #3
jochen (gone - plz use gerrit)
shouldn't it be possible to remove the test expectation now?
7 years, 2 months ago (2013-10-24 12:44:57 UTC) #4
Inactive
On 2013/10/24 12:44:57, jochen wrote: > shouldn't it be possible to remove the test expectation ...
7 years, 2 months ago (2013-10-24 13:05:05 UTC) #5
Inactive
On 2013/10/24 12:44:57, jochen wrote: > shouldn't it be possible to remove the test expectation ...
7 years, 2 months ago (2013-10-24 13:10:29 UTC) #6
adamk
lgtm
7 years, 2 months ago (2013-10-24 17:13:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/37863002/90001
7 years, 2 months ago (2013-10-24 17:14:09 UTC) #8
commit-bot: I haz the power
Retried try job too often on blink_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=blink_presubmit&number=9739
7 years, 2 months ago (2013-10-24 17:33:31 UTC) #9
Inactive
On 2013/10/24 17:13:37, adamk wrote: > lgtm Thanks but it still needs review from a ...
7 years, 2 months ago (2013-10-24 17:35:54 UTC) #10
Michael van Ouwerkerk
lgtm
7 years, 2 months ago (2013-10-24 17:40:04 UTC) #11
Michael van Ouwerkerk
On 2013/10/24 17:40:04, Michael van Ouwerkerk wrote: > lgtm Oh oops not a geolocation owner ...
7 years, 2 months ago (2013-10-24 17:41:05 UTC) #12
abarth-chromium
lgtm
7 years, 2 months ago (2013-10-24 17:51:49 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ch.dumez@samsung.com/37863002/90001
7 years, 2 months ago (2013-10-24 17:52:08 UTC) #14
commit-bot: I haz the power
7 years, 2 months ago (2013-10-24 18:45:25 UTC) #15
Message was sent while issue was closed.
Change committed as 160480

Powered by Google App Engine
This is Rietveld 408576698