Changeset 205391 in webkit
- Timestamp:
- Sep 2, 2016 5:34:26 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r205390 r205391 1 2016-09-02 Joseph Pecoraro <pecoraro@apple.com> 2 3 [Mac] Remove unnecessary RetainPtr in NeverDestroyed value 4 https://bugs.webkit.org/show_bug.cgi?id=161553 5 6 Reviewed by Daniel Bates. 7 8 * platform/ios/WebCoreMotionManager.mm: 9 (+[WebCoreMotionManager sharedManager]): 10 1 11 2016-09-02 Alex Christensen <achristensen@webkit.org> 2 12 -
trunk/Source/WebCore/platform/ios/WebCoreMotionManager.mm
r194819 r205391 33 33 #import <wtf/MathExtras.h> 34 34 #import <wtf/NeverDestroyed.h> 35 #import <wtf/PassRefPtr.h>36 #import <wtf/RetainPtr.h>37 35 38 36 #if PLATFORM(IOS) … … 70 68 + (WebCoreMotionManager *)sharedManager 71 69 { 72 static NeverDestroyed<RetainPtr<WebCoreMotionManager>> sharedMotionManager([[WebCoreMotionManager alloc] init]);73 return sharedMotionManager .get().get();70 static WebCoreMotionManager *sharedMotionManager = [[WebCoreMotionManager alloc] init]; 71 return sharedMotionManager; 74 72 } 75 73
Note: See TracChangeset
for help on using the changeset viewer.