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

Issue 314873002: Oilpan: Move GeolocationController back to off-heap (Closed)

Created:
6 years, 6 months ago by haraken
Modified:
6 years, 6 months ago
CC:
blink-reviews, mvanouwerkerk+watch_chromium.org, timvolodine
Visibility:
Public.

Description

Oilpan: Move GeolocationController back to off-heap r175404 broke oilpan builds, because r175404 switched GeolocationController from being a Page (which is on-heap) supplement to a LocalFrame (which is not yet on-heap) supplement. As a quick fix, this CL moves GeolocationController back to off-heap. BUG=340522 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175430

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -20 lines) Patch
M Source/modules/geolocation/GeolocationController.h View 3 chunks +4 lines, -7 lines 1 comment Download
M Source/modules/geolocation/GeolocationController.cpp View 4 chunks +5 lines, -13 lines 2 comments Download

Messages

Total messages: 10 (0 generated)
haraken
PTAL
6 years, 6 months ago (2014-06-04 01:01:52 UTC) #1
haraken
https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/GeolocationController.h File Source/modules/geolocation/GeolocationController.h (right): https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/GeolocationController.h#newcode52 Source/modules/geolocation/GeolocationController.h:52: void removeObserver(Geolocation*); jam@, michael@: I found that no one ...
6 years, 6 months ago (2014-06-04 01:03:19 UTC) #2
tkent
lgtm
6 years, 6 months ago (2014-06-04 01:08:32 UTC) #3
haraken
The CQ bit was checked by haraken@chromium.org
6 years, 6 months ago (2014-06-04 01:15:25 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haraken@chromium.org/314873002/1
6 years, 6 months ago (2014-06-04 01:16:12 UTC) #5
jabdelmalek
thanks (this change looks like magic to me, so i'm not qualified to review, and ...
6 years, 6 months ago (2014-06-04 01:24:19 UTC) #6
haraken
On 2014/06/04 01:24:19, jabdelmalek wrote: > thanks (this change looks like magic to me, so ...
6 years, 6 months ago (2014-06-04 01:25:26 UTC) #7
commit-bot: I haz the power
Change committed as 175430
6 years, 6 months ago (2014-06-04 02:44:56 UTC) #8
Mads Ager (chromium)
LGTM https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/GeolocationController.cpp File Source/modules/geolocation/GeolocationController.cpp (right): https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/GeolocationController.cpp#newcode157 Source/modules/geolocation/GeolocationController.cpp:157: WillBePersistentHeapVector<RefPtrWillBeMember<Geolocation> > observersVector; This is on the stack, ...
6 years, 6 months ago (2014-06-04 06:20:15 UTC) #9
haraken
6 years, 6 months ago (2014-06-04 09:45:28 UTC) #10
Message was sent while issue was closed.
On 2014/06/04 06:20:15, Mads Ager (chromium) wrote:
> LGTM
> 
>
https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/G...
> File Source/modules/geolocation/GeolocationController.cpp (right):
> 
>
https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/G...
> Source/modules/geolocation/GeolocationController.cpp:157:
> WillBePersistentHeapVector<RefPtrWillBeMember<Geolocation> > observersVector;
> This is on the stack, so we should be able to still use WillBeHeapVector here?
> There is no need for the persistent on the stack. The conservative stack
> scanning will find the temporary vector.
> 
>
https://codereview.chromium.org/314873002/diff/1/Source/modules/geolocation/G...
> Source/modules/geolocation/GeolocationController.cpp:165:
> WillBePersistentHeapVector<RefPtrWillBeMember<Geolocation> > observersVector;
> Ditto.

Thanks for review. Addressed it in a follow-up:
https://codereview.chromium.org/316823003/

Powered by Google App Engine
This is Rietveld 408576698