Title: [281865] trunk/Source/WebCore
Revision
281865
Author
commit-qu...@webkit.org
Date
2021-09-01 11:53:48 -0700 (Wed, 01 Sep 2021)

Log Message

ImageRenderingMode.h is not used
https://bugs.webkit.org/show_bug.cgi?id=229753

Patch by Kimmo Kinnunen <kkinnu...@apple.com> on 2021-09-01
Reviewed by Antti Koivisto.

Remove the file. `InterpolationQuality` from `GraphicsTypes.h` seems
to be the type used nowadays.

* WebCore.xcodeproj/project.pbxproj:
* platform/graphics/ImageRenderingMode.h: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (281864 => 281865)


--- trunk/Source/WebCore/ChangeLog	2021-09-01 18:44:29 UTC (rev 281864)
+++ trunk/Source/WebCore/ChangeLog	2021-09-01 18:53:48 UTC (rev 281865)
@@ -1,3 +1,16 @@
+2021-09-01  Kimmo Kinnunen  <kkinnu...@apple.com>
+
+        ImageRenderingMode.h is not used
+        https://bugs.webkit.org/show_bug.cgi?id=229753
+
+        Reviewed by Antti Koivisto.
+
+        Remove the file. `InterpolationQuality` from `GraphicsTypes.h` seems
+        to be the type used nowadays.
+
+        * WebCore.xcodeproj/project.pbxproj:
+        * platform/graphics/ImageRenderingMode.h: Removed.
+
 2021-09-01  Alex Christensen  <achristen...@webkit.org>
 
         PerformanceNavigationTiming should be instantiated before scripts run then updated when response finishes

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (281864 => 281865)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2021-09-01 18:44:29 UTC (rev 281864)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2021-09-01 18:53:48 UTC (rev 281865)
@@ -1342,7 +1342,6 @@
 		47C4D57D26508BCB00C7AB1F /* InlineFormattingGeometry.h in Headers */ = {isa = PBXBuildFile; fileRef = 47C4D57C26508BCA00C7AB1F /* InlineFormattingGeometry.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		47F947DB26502F2F0087968C /* BlockFormattingQuirks.h in Headers */ = {isa = PBXBuildFile; fileRef = 47F947DA26502F2F0087968C /* BlockFormattingQuirks.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		47FA97002650982B00841416 /* TableFormattingGeometry.h in Headers */ = {isa = PBXBuildFile; fileRef = 47FA96FF2650982A00841416 /* TableFormattingGeometry.h */; settings = {ATTRIBUTES = (Private, ); }; };
-		49291E4B134172C800E753DE /* ImageRenderingMode.h in Headers */ = {isa = PBXBuildFile; fileRef = 49291E4A134172C800E753DE /* ImageRenderingMode.h */; };
 		493E5E0912D6420500020081 /* PlatformCALayerClient.h in Headers */ = {isa = PBXBuildFile; fileRef = 493E5E0812D6420500020081 /* PlatformCALayerClient.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		4945BFD413CF809000CC3B38 /* TransformState.h in Headers */ = {isa = PBXBuildFile; fileRef = 4945BFD213CF809000CC3B38 /* TransformState.h */; };
 		49484FC2102CF23C00187DD3 /* CanvasGradient.h in Headers */ = {isa = PBXBuildFile; fileRef = 49484FB4102CF23C00187DD3 /* CanvasGradient.h */; };
@@ -8424,7 +8423,6 @@
 		47C4D57C26508BCA00C7AB1F /* InlineFormattingGeometry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InlineFormattingGeometry.h; sourceTree = "<group>"; };
 		47F947DA26502F2F0087968C /* BlockFormattingQuirks.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = BlockFormattingQuirks.h; sourceTree = "<group>"; };
 		47FA96FF2650982A00841416 /* TableFormattingGeometry.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TableFormattingGeometry.h; sourceTree = "<group>"; };
-		49291E4A134172C800E753DE /* ImageRenderingMode.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ImageRenderingMode.h; sourceTree = "<group>"; };
 		493E5E0812D6420500020081 /* PlatformCALayerClient.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PlatformCALayerClient.h; sourceTree = "<group>"; };
 		4945BFD113CF809000CC3B38 /* TransformState.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TransformState.cpp; sourceTree = "<group>"; };
 		4945BFD213CF809000CC3B38 /* TransformState.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TransformState.h; sourceTree = "<group>"; };
@@ -26724,7 +26722,6 @@
 				BC7F44A70B9E324E00A9D081 /* ImageObserver.h */,
 				A8748D6612CC3763001FBA41 /* ImageOrientation.h */,
 				72C18A3F230B04B7006847C7 /* ImagePaintingOptions.h */,
-				49291E4A134172C800E753DE /* ImageRenderingMode.h */,
 				CA3A4AAB25416E3C006CDAE2 /* ImageResolution.cpp */,
 				CA3A4AAD25416E3E006CDAE2 /* ImageResolution.h */,
 				554675771FD1FC1A003B10B0 /* ImageSource.cpp */,
@@ -32483,7 +32480,6 @@
 				F446EDE1265DB1E50031DA8F /* ImageOverlayDataDetectionResultIdentifier.h in Headers */,
 				72283F0E230B268C00F5D828 /* ImagePaintingOptions.h in Headers */,
 				B51A2F3F17D7D3AE0072517A /* ImageQualityController.h in Headers */,
-				49291E4B134172C800E753DE /* ImageRenderingMode.h in Headers */,
 				CA3A4AAF25416E40006CDAE2 /* ImageResolution.h in Headers */,
 				CD27AE5022A9868700947FF9 /* ImageRotationSessionVT.h in Headers */,
 				7C193BC11F5E0EED0088F3E6 /* ImageSmoothingQuality.h in Headers */,

Deleted: trunk/Source/WebCore/platform/graphics/ImageRenderingMode.h (281864 => 281865)


--- trunk/Source/WebCore/platform/graphics/ImageRenderingMode.h	2021-09-01 18:44:29 UTC (rev 281864)
+++ trunk/Source/WebCore/platform/graphics/ImageRenderingMode.h	2021-09-01 18:53:48 UTC (rev 281865)
@@ -1,34 +0,0 @@
-/*
- * Copyright (C) 2011 Google Inc. All rights reserved.
- * 
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1.  Redistributions of source code must retain the above copyright
- * notice, this list of conditions and the following disclaimer.
- * 2.  Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * 
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
- * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
- * DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY
- * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
- * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
- * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
- * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
- * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef ImageRenderingMode_h
-#define ImageRenderingMode_h
-    
-namespace WebCore {
-
-enum ImageRenderingMode { AutoImageRendering, OptimizeContrast };
-
-} // namespace WebCore
-    
-#endif // ImageRenderingMode_h
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to