⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 184054 in webkit


Ignore:
Timestamp:
May 10, 2015, 2:26:51 PM (11 years ago)
Author:
commit-queue@webkit.org
Message:

Remove unnecessary semicolons.
https://bugs.webkit.org/show_bug.cgi?id=144844

Patch by Sungmann Cho <sungmann.cho@navercorp.com> on 2015-05-10
Reviewed by Darin Adler.

No new tests, no behavior change.

Source/WebCore:

  • platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:

(WebCore::MediaPlayerPrivateAVFoundationObjC::supportsType):

  • platform/ios/PasteboardIOS.mm:

(WebCore::Pasteboard::readString):

  • platform/mediastream/RealtimeMediaSourceCapabilities.h:

(WebCore::RealtimeMediaSourceCapabilities::setHasVideoSource):

  • platform/network/mac/ResourceErrorMac.mm:

(WebCore::ResourceError::nsError):

  • rendering/RenderThemeIOS.mm:

(WebCore::getSharedFunctionRef):

Source/WebKit2:

  • Shared/Downloads/mac/DownloadMac.mm:

(-[WKDownloadAsDelegate download:shouldDecodeSourceDataOfMIMEType:]):

  • UIProcess/WebProcessProxy.cpp:

(WebKit::WebProcessProxy::transformHandlesToObjects):

  • UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:

(WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation):

  • WebProcess/WebPage/WebBackForwardListProxy.cpp:

(WebKit::idToHistoryItemMap):

Location:
trunk/Source
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r184053 r184054  
     12015-05-10  Sungmann Cho  <sungmann.cho@navercorp.com>
     2
     3        Remove unnecessary semicolons.
     4        https://bugs.webkit.org/show_bug.cgi?id=144844
     5
     6        Reviewed by Darin Adler.
     7
     8        No new tests, no behavior change.
     9
     10        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
     11        (WebCore::MediaPlayerPrivateAVFoundationObjC::supportsType):
     12        * platform/ios/PasteboardIOS.mm:
     13        (WebCore::Pasteboard::readString):
     14        * platform/mediastream/RealtimeMediaSourceCapabilities.h:
     15        (WebCore::RealtimeMediaSourceCapabilities::setHasVideoSource):
     16        * platform/network/mac/ResourceErrorMac.mm:
     17        (WebCore::ResourceError::nsError):
     18        * rendering/RenderThemeIOS.mm:
     19        (WebCore::getSharedFunctionRef):
     20
    1212015-05-10  Sungmann Cho  <sungmann.cho@navercorp.com>
    222
  • trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm

    r183927 r184054  
    16281628
    16291629    NSString *typeString = [NSString stringWithFormat:@"%@; codecs=\"%@\"", (NSString *)parameters.type, (NSString *)parameters.codecs];
    1630     return [AVURLAsset isPlayableExtendedMIMEType:typeString] ? MediaPlayer::IsSupported : MediaPlayer::MayBeSupported;;
     1630    return [AVURLAsset isPlayableExtendedMIMEType:typeString] ? MediaPlayer::IsSupported : MediaPlayer::MayBeSupported;
    16311631}
    16321632
  • trunk/Source/WebCore/platform/ios/PasteboardIOS.mm

    r179886 r184054  
    325325        String value = strategy.readStringFromPasteboard(0, kUTTypeText);
    326326        if (!value.isNull())
    327             cocoaValue = [(NSString *)value precomposedStringWithCanonicalMapping];;
     327            cocoaValue = [(NSString *)value precomposedStringWithCanonicalMapping];
    328328    } else if (cocoaType) {
    329329        if (RefPtr<SharedBuffer> buffer = strategy.readBufferFromPasteboard(0, cocoaType.get()))
  • trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceCapabilities.h

    r181152 r184054  
    122122
    123123    bool hasVideoSource() { return m_videoSource; }
    124     void setHasVideoSource(bool isVideo) { m_videoSource = isVideo;; }
     124    void setHasVideoSource(bool isVideo) { m_videoSource = isVideo; }
    125125
    126126private:
  • trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm

    r173192 r184054  
    290290
    291291    if (!m_platformError)
    292         m_platformError = createNSErrorFromResourceErrorBase(*this);;
     292        m_platformError = createNSErrorFromResourceErrorBase(*this);
    293293
    294294    return m_platformError.get();
  • trunk/Source/WebCore/rendering/RenderThemeIOS.mm

    r183778 r184054  
    137137
    138138    static HashMap<IOSGradientRef, CGFunctionRef>* linearFunctionRefs;
    139     static HashMap<IOSGradientRef, CGFunctionRef>* exponentialFunctionRefs;;
     139    static HashMap<IOSGradientRef, CGFunctionRef>* exponentialFunctionRefs;
    140140
    141141    if (interpolation == LinearInterpolation) {
  • trunk/Source/WebKit2/ChangeLog

    r184052 r184054  
     12015-05-10  Sungmann Cho  <sungmann.cho@navercorp.com>
     2
     3        Remove unnecessary semicolons.
     4        https://bugs.webkit.org/show_bug.cgi?id=144844
     5
     6        Reviewed by Darin Adler.
     7
     8        No new tests, no behavior change.
     9
     10        * Shared/Downloads/mac/DownloadMac.mm:
     11        (-[WKDownloadAsDelegate download:shouldDecodeSourceDataOfMIMEType:]):
     12        * UIProcess/WebProcessProxy.cpp:
     13        (WebKit::WebProcessProxy::transformHandlesToObjects):
     14        * UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm:
     15        (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation):
     16        * WebProcess/WebPage/WebBackForwardListProxy.cpp:
     17        (WebKit::idToHistoryItemMap):
     18
    1192015-05-10  Darin Adler  <darin@apple.com>
    220
  • trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm

    r181410 r184054  
    266266    });
    267267
    268     return returnValue;;
     268    return returnValue;
    269269}
    270270
  • trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp

    r182610 r184054  
    832832#if PLATFORM(COCOA)
    833833            case API::Object::Type::ObjCObjectGraph:
    834                 return m_webProcessProxy.transformHandlesToObjects(static_cast<ObjCObjectGraph&>(object));;
     834                return m_webProcessProxy.transformHandlesToObjects(static_cast<ObjCObjectGraph&>(object));
    835835#endif
    836836            default:
  • trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm

    r183841 r184054  
    270270        FloatPoint tiledMapLocation = exposedRect().location();
    271271        tiledMapLocation += FloatSize(indicatorInset, indicatorInset);
    272         float scale = 1 / m_webPageProxy.pageScaleFactor();;
     272        float scale = 1 / m_webPageProxy.pageScaleFactor();
    273273        tiledMapLocation.scale(scale, scale);
    274274#endif
  • trunk/Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp

    r179472 r184054  
    5858static IDToHistoryItemMap& idToHistoryItemMap()
    5959{
    60     static NeverDestroyed<IDToHistoryItemMap> map;;
     60    static NeverDestroyed<IDToHistoryItemMap> map;
    6161    return map;
    6262}
Note: See TracChangeset for help on using the changeset viewer.