Changeset 55459 in webkit


Ignore:
Timestamp:
Mar 3, 2010 5:30:49 AM (14 years ago)
Author:
eric@webkit.org
Message:

2010-03-03 Arno Renevier <arno@renevier.net>

Reviewed by Gustavo Noronha Silva.

[Gtk]: assertion triggered when geolocation getCurrentPosition without an option argument.
https://bugs.webkit.org/show_bug.cgi?id=35666

  • platform/gtk/GeolocationServiceGtk.cpp: (WebCore::GeolocationServiceGtk::startUpdating):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r55457 r55459  
     12010-03-03  Arno Renevier  <arno@renevier.net>
     2
     3        Reviewed by Gustavo Noronha Silva.
     4
     5        [Gtk]: assertion triggered when geolocation getCurrentPosition without an option argument.
     6        https://bugs.webkit.org/show_bug.cgi?id=35666
     7
     8        * platform/gtk/GeolocationServiceGtk.cpp:
     9        (WebCore::GeolocationServiceGtk::startUpdating):
     10
    1112010-03-03  Fridrich Strba  <fridrich.strba@bluewin.ch>
    212
  • trunk/WebCore/platform/gtk/GeolocationServiceGtk.cpp

    r55446 r55459  
    9595    if (options) {
    9696        accuracyLevel = options->enableHighAccuracy() ? GEOCLUE_ACCURACY_LEVEL_DETAILED : GEOCLUE_ACCURACY_LEVEL_LOCALITY;
    97         timeout = options->timeout();
     97        if (options->hasTimeout())
     98            timeout = options->timeout();
    9899    }
    99100
Note: See TracChangeset for help on using the changeset viewer.