Changeset 86772 in webkit
- Timestamp:
- May 18, 2011 9:12:51 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r86771 r86772 1 2011-05-18 Pratik Solanki <psolanki@apple.com> 2 3 Reviewed by Dan Bernstein. 4 5 Don't use DEFINE_STATIC_LOCAL with an unsigned 6 https://bugs.webkit.org/show_bug.cgi?id=61026 7 8 * storage/StorageTracker.cpp: 9 (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase): DEFINE_STATIC_LOCAL is meant 10 for objects, not unsigned ints. We can just use static here. 11 1 12 2011-05-18 Rob Buis <rbuis@rim.com> 2 13 -
trunk/Source/WebCore/storage/StorageTracker.cpp
r86371 r86772 196 196 DEFINE_STATIC_LOCAL(const String, fileMatchPattern, ("*.localstorage")); 197 197 DEFINE_STATIC_LOCAL(const String, fileExt, (".localstorage")); 198 DEFINE_STATIC_LOCAL(const unsigned, fileExtLength, (fileExt.length()));198 static const unsigned fileExtLength = fileExt.length(); 199 199 m_databaseGuard.unlock(); 200 200
Note: See TracChangeset
for help on using the changeset viewer.