Title: [184054] trunk/Source
Revision
184054
Author
commit-qu...@webkit.org
Date
2015-05-10 14:26:51 -0700 (Sun, 10 May 2015)

Log Message

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

Patch by Sungmann Cho <sungmann....@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):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (184053 => 184054)


--- trunk/Source/WebCore/ChangeLog	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/ChangeLog	2015-05-10 21:26:51 UTC (rev 184054)
@@ -1,5 +1,25 @@
 2015-05-10  Sungmann Cho  <sungmann....@navercorp.com>
 
+        Remove unnecessary semicolons.
+        https://bugs.webkit.org/show_bug.cgi?id=144844
+
+        Reviewed by Darin Adler.
+
+        No new tests, no behavior change.
+
+        * 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):
+
+2015-05-10  Sungmann Cho  <sungmann....@navercorp.com>
+
         Remove unnecessary forward declarations in StyleProperties.h
         https://bugs.webkit.org/show_bug.cgi?id=144843
 

Modified: trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm (184053 => 184054)


--- trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -1627,7 +1627,7 @@
         return MediaPlayer::MayBeSupported;
 
     NSString *typeString = [NSString stringWithFormat:@"%@; codecs=\"%@\"", (NSString *)parameters.type, (NSString *)parameters.codecs];
-    return [AVURLAsset isPlayableExtendedMIMEType:typeString] ? MediaPlayer::IsSupported : MediaPlayer::MayBeSupported;;
+    return [AVURLAsset isPlayableExtendedMIMEType:typeString] ? MediaPlayer::IsSupported : MediaPlayer::MayBeSupported;
 }
 
 bool MediaPlayerPrivateAVFoundationObjC::supportsKeySystem(const String& keySystem, const String& mimeType)

Modified: trunk/Source/WebCore/platform/ios/PasteboardIOS.mm (184053 => 184054)


--- trunk/Source/WebCore/platform/ios/PasteboardIOS.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/platform/ios/PasteboardIOS.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -324,7 +324,7 @@
     } else if ([cocoaType isEqualToString:(NSString *)kUTTypeText]) {
         String value = strategy.readStringFromPasteboard(0, kUTTypeText);
         if (!value.isNull())
-            cocoaValue = [(NSString *)value precomposedStringWithCanonicalMapping];;
+            cocoaValue = [(NSString *)value precomposedStringWithCanonicalMapping];
     } else if (cocoaType) {
         if (RefPtr<SharedBuffer> buffer = strategy.readBufferFromPasteboard(0, cocoaType.get()))
             cocoaValue = [[[NSString alloc] initWithData:buffer->createNSData().get() encoding:NSUTF8StringEncoding] autorelease];

Modified: trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceCapabilities.h (184053 => 184054)


--- trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceCapabilities.h	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/platform/mediastream/RealtimeMediaSourceCapabilities.h	2015-05-10 21:26:51 UTC (rev 184054)
@@ -121,7 +121,7 @@
     void setVolumeRange(const RealtimeMediaSourceCapabilityRange& volume) { m_volume = volume; }
 
     bool hasVideoSource() { return m_videoSource; }
-    void setHasVideoSource(bool isVideo) { m_videoSource = isVideo;; }
+    void setHasVideoSource(bool isVideo) { m_videoSource = isVideo; }
 
 private:
     RealtimeMediaSourceCapabilities()

Modified: trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm (184053 => 184054)


--- trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/platform/network/mac/ResourceErrorMac.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -289,7 +289,7 @@
     }
 
     if (!m_platformError)
-        m_platformError = createNSErrorFromResourceErrorBase(*this);;
+        m_platformError = createNSErrorFromResourceErrorBase(*this);
 
     return m_platformError.get();
 }

Modified: trunk/Source/WebCore/rendering/RenderThemeIOS.mm (184053 => 184054)


--- trunk/Source/WebCore/rendering/RenderThemeIOS.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebCore/rendering/RenderThemeIOS.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -136,7 +136,7 @@
     CGFunctionRef function = nullptr;
 
     static HashMap<IOSGradientRef, CGFunctionRef>* linearFunctionRefs;
-    static HashMap<IOSGradientRef, CGFunctionRef>* exponentialFunctionRefs;;
+    static HashMap<IOSGradientRef, CGFunctionRef>* exponentialFunctionRefs;
 
     if (interpolation == LinearInterpolation) {
         if (!linearFunctionRefs)

Modified: trunk/Source/WebKit2/ChangeLog (184053 => 184054)


--- trunk/Source/WebKit2/ChangeLog	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebKit2/ChangeLog	2015-05-10 21:26:51 UTC (rev 184054)
@@ -1,3 +1,21 @@
+2015-05-10  Sungmann Cho  <sungmann....@navercorp.com>
+
+        Remove unnecessary semicolons.
+        https://bugs.webkit.org/show_bug.cgi?id=144844
+
+        Reviewed by Darin Adler.
+
+        No new tests, no behavior change.
+
+        * 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):
+
 2015-05-10  Darin Adler  <da...@apple.com>
 
         Fix build.

Modified: trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm (184053 => 184054)


--- trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebKit2/Shared/Downloads/mac/DownloadMac.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -265,7 +265,7 @@
             returnValue = YES;
     });
 
-    return returnValue;;
+    return returnValue;
 }
 
 - (void)download:(NSURLDownload *)download decideDestinationWithSuggestedFilename:(NSString *)filename

Modified: trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp (184053 => 184054)


--- trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp	2015-05-10 21:26:51 UTC (rev 184054)
@@ -831,7 +831,7 @@
 
 #if PLATFORM(COCOA)
             case API::Object::Type::ObjCObjectGraph:
-                return m_webProcessProxy.transformHandlesToObjects(static_cast<ObjCObjectGraph&>(object));;
+                return m_webProcessProxy.transformHandlesToObjects(static_cast<ObjCObjectGraph&>(object));
 #endif
             default:
                 return &object;

Modified: trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm (184053 => 184054)


--- trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebKit2/UIProcess/mac/RemoteLayerTreeDrawingAreaProxy.mm	2015-05-10 21:26:51 UTC (rev 184054)
@@ -269,7 +269,7 @@
 #else
         FloatPoint tiledMapLocation = exposedRect().location();
         tiledMapLocation += FloatSize(indicatorInset, indicatorInset);
-        float scale = 1 / m_webPageProxy.pageScaleFactor();;
+        float scale = 1 / m_webPageProxy.pageScaleFactor();
         tiledMapLocation.scale(scale, scale);
 #endif
         return tiledMapLocation;

Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp (184053 => 184054)


--- trunk/Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp	2015-05-10 21:23:33 UTC (rev 184053)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebBackForwardListProxy.cpp	2015-05-10 21:26:51 UTC (rev 184054)
@@ -57,7 +57,7 @@
 
 static IDToHistoryItemMap& idToHistoryItemMap()
 {
-    static NeverDestroyed<IDToHistoryItemMap> map;;
+    static NeverDestroyed<IDToHistoryItemMap> map;
     return map;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to