Changeset 58226 in webkit


Ignore:
Timestamp:
Apr 24, 2010 11:44:12 PM (14 years ago)
Author:
sfalken@apple.com
Message:

2010-04-24 Steve Falkenburg <sfalken@apple.com>

Reviewed by Sam Weinig.

Typo in Geolocation code causes crashes when updates are stopped
https://bugs.webkit.org/show_bug.cgi?id=38089
<rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation

  • WebCoreSupport/WebGeolocationControllerClient.cpp: (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register.
Location:
trunk/WebKit/win
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/win/ChangeLog

    r58154 r58226  
     12010-04-24  Steve Falkenburg  <sfalken@apple.com>
     2
     3        Reviewed by Sam Weinig.
     4
     5        Typo in Geolocation code causes crashes when updates are stopped
     6        https://bugs.webkit.org/show_bug.cgi?id=38089
     7        <rdar://problem/7904104> Crash closing geolocation tab after allowing to use geolocation
     8
     9        * WebCoreSupport/WebGeolocationControllerClient.cpp:
     10        (WebGeolocationControllerClient::stopUpdating): Call unregister instead of register.
     11
    1122010-04-23  Andy Estes  <aestes@apple.com>
    213
  • trunk/WebKit/win/WebCoreSupport/WebGeolocationControllerClient.cpp

    r53834 r58226  
    5656    if (FAILED(m_webView->geolocationProvider(&provider)))
    5757        return;
    58     provider->registerWebView(m_webView.get());
     58    provider->unregisterWebView(m_webView.get());
    5959}
    6060
Note: See TracChangeset for help on using the changeset viewer.