Commit 2dc04e0f authored by Reilly Grant's avatar Reilly Grant Committed by Commit Bot

[geolocation] Fix bad GarbageCollected parent class

In r695573 a find-and-replace error changed the parent of the
NavigatorGeolocation class from GarbageCollected<NavigatorGeolocation>
to GarbageCollected<Geolocation>. This causes a bad cast during
sweeping.

Bug: 1003140
Change-Id: Ie2398fe2ce3ce501c69b277938bc101c211c5963
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799698Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Commit-Queue: Reilly Grant <reillyg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#695886}
parent 0f435b65
......@@ -30,9 +30,10 @@ namespace blink {
class Geolocation;
class Navigator;
class NavigatorGeolocation final : public GarbageCollected<Geolocation>,
public Supplement<Navigator>,
public NameClient {
class NavigatorGeolocation final
: public GarbageCollected<NavigatorGeolocation>,
public Supplement<Navigator>,
public NameClient {
USING_GARBAGE_COLLECTED_MIXIN(NavigatorGeolocation);
public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment