| Index: third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
|
| diff --git a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
|
| index 8be08ed2852c159bca6613e47e2087020b21a3e1..2cd4efe92e98161da059b149ca1f1005c665215c 100644
|
| --- a/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
|
| +++ b/third_party/WebKit/Source/modules/geolocation/NavigatorGeolocation.cpp
|
| @@ -52,8 +52,8 @@ Geolocation* NavigatorGeolocation::geolocation(Navigator& navigator) {
|
| }
|
|
|
| Geolocation* NavigatorGeolocation::geolocation() {
|
| - if (!m_geolocation && host()->frame())
|
| - m_geolocation = Geolocation::create(host()->frame()->document());
|
| + if (!m_geolocation && supplementable()->frame())
|
| + m_geolocation = Geolocation::create(supplementable()->frame()->document());
|
| return m_geolocation;
|
| }
|
|
|
|
|