~ubuntu-branches/ubuntu/lucid/webkit/lucid-security

« back to all changes in this revision

Viewing changes to WebCore/page/GeolocationController.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Gustavo Noronha Silva
  • Date: 2010-01-20 20:09:57 UTC
  • mfrom: (1.2.7 upstream) (4.3.8 sid)
  • Revision ID: james.westby@ubuntu.com-20100120200957-3ng8lah18c7pmm52
* New upstream release
- Fixes crashes related to clearing the clipboard, which many users were
  experiencing (Closes: #565166)

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
 
55
55
void GeolocationController::removeObserver(Geolocation* observer)
56
56
{
57
 
    ASSERT(m_observers.contains(observer));
 
57
    if (!m_observers.contains(observer))
 
58
        return;
58
59
 
59
60
    m_observers.remove(observer);
60
61
    if (m_observers.isEmpty())