Diff
Modified: trunk/Source/WebCore/ChangeLog (225022 => 225023)
--- trunk/Source/WebCore/ChangeLog 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/ChangeLog 2017-11-18 22:50:30 UTC (rev 225023)
@@ -1,5 +1,27 @@
2017-11-18 Simon Fraser <[email protected]>
+ Use #pragma once in FE* files.
+
+ Rubber-stamped by Dan Bates.
+
+ * platform/graphics/filters/FEBlend.h:
+ * platform/graphics/filters/FEColorMatrix.h:
+ * platform/graphics/filters/FEComponentTransfer.h:
+ * platform/graphics/filters/FEComposite.h:
+ * platform/graphics/filters/FEConvolveMatrix.h:
+ * platform/graphics/filters/FEDiffuseLighting.h:
+ * platform/graphics/filters/FEDisplacementMap.h:
+ * platform/graphics/filters/FEDropShadow.h:
+ * platform/graphics/filters/FEFlood.h:
+ * platform/graphics/filters/FEGaussianBlur.h:
+ * platform/graphics/filters/FELighting.h:
+ * platform/graphics/filters/FEMerge.h:
+ * platform/graphics/filters/FEOffset.h:
+ * platform/graphics/filters/FESpecularLighting.h:
+ * platform/graphics/filters/FETile.h:
+
+2017-11-18 Simon Fraser <[email protected]>
+
Remove a TimingScope that I left in by mistake.
* platform/graphics/filters/FETurbulence.cpp:
Modified: trunk/Source/WebCore/platform/graphics/filters/FEBlend.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEBlend.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEBlend.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -20,8 +20,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEBlend_h
-#define FEBlend_h
+#pragma once
#include "FilterEffect.h"
@@ -53,4 +52,3 @@
} // namespace WebCore
-#endif // FEBlend_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEColorMatrix.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEColorMatrix.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEColorMatrix.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEColorMatrix_h
-#define FEColorMatrix_h
+#pragma once
#include "FilterEffect.h"
@@ -93,4 +92,3 @@
} // namespace WebCore
-#endif // FEColorMatrix_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEComponentTransfer.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEComponentTransfer.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEComponentTransfer.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEComponentTransfer_h
-#define FEComponentTransfer_h
+#pragma once
#include "FilterEffect.h"
@@ -96,4 +95,3 @@
} // namespace WebCore
-#endif // FEComponentTransfer_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEComposite.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEComposite.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEComposite.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEComposite_h
-#define FEComposite_h
+#pragma once
#include "FilterEffect.h"
@@ -91,4 +90,3 @@
} // namespace WebCore
-#endif // FEComposite_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEConvolveMatrix.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -20,8 +20,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEConvolveMatrix_h
-#define FEConvolveMatrix_h
+#pragma once
#include "FilterEffect.h"
#include "FloatPoint.h"
@@ -115,4 +114,3 @@
} // namespace WebCore
-#endif // FEConvolveMatrix_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEDiffuseLighting.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEDiffuseLighting.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEDiffuseLighting.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEDiffuseLighting_h
-#define FEDiffuseLighting_h
+#pragma once
#include "FELighting.h"
@@ -60,4 +59,3 @@
} // namespace WebCore
-#endif // FEDiffuseLighting_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEDisplacementMap.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEDisplacementMap.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEDisplacementMap.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEDisplacementMap_h
-#define FEDisplacementMap_h
+#pragma once
#include "FilterEffect.h"
#include "Filter.h"
@@ -69,4 +68,3 @@
} // namespace WebCore
-#endif // FEDisplacementMap_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEDropShadow.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEDropShadow.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEDropShadow.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -17,8 +17,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEDropShadow_h
-#define FEDropShadow_h
+#pragma once
#include "Color.h"
#include "Filter.h"
@@ -68,4 +67,3 @@
} // namespace WebCore
-#endif // FEDropShadow_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEFlood.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEFlood.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEFlood.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEFlood_h
-#define FEFlood_h
+#pragma once
#include "Color.h"
#include "Filter.h"
@@ -61,4 +60,3 @@
} // namespace WebCore
-#endif // FEFlood_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEGaussianBlur.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEGaussianBlur_h
-#define FEGaussianBlur_h
+#pragma once
#include "FEConvolveMatrix.h"
#include "Filter.h"
@@ -81,4 +80,3 @@
} // namespace WebCore
-#endif // FEGaussianBlur_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FELighting.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FELighting.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FELighting.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -24,8 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef FELighting_h
-#define FELighting_h
+#pragma once
#include "Color.h"
#include "Filter.h"
@@ -118,4 +117,3 @@
} // namespace WebCore
-#endif // FELighting_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEMerge.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEMerge.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEMerge.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEMerge_h
-#define FEMerge_h
+#pragma once
#include "FilterEffect.h"
#include "Filter.h"
@@ -42,4 +41,3 @@
} // namespace WebCore
-#endif // FEMerge_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FEOffset.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FEOffset.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FEOffset.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FEOffset_h
-#define FEOffset_h
+#pragma once
#include "FilterEffect.h"
#include "Filter.h"
@@ -53,4 +52,3 @@
} // namespace WebCore
-#endif // FEOffset_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FESpecularLighting.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FESpecularLighting.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FESpecularLighting.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FESpecularLighting_h
-#define FESpecularLighting_h
+#pragma once
#include "FELighting.h"
@@ -61,4 +60,3 @@
} // namespace WebCore
-#endif // FESpecularLighting_h
Modified: trunk/Source/WebCore/platform/graphics/filters/FETile.h (225022 => 225023)
--- trunk/Source/WebCore/platform/graphics/filters/FETile.h 2017-11-18 22:44:42 UTC (rev 225022)
+++ trunk/Source/WebCore/platform/graphics/filters/FETile.h 2017-11-18 22:50:30 UTC (rev 225023)
@@ -19,8 +19,7 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef FETile_h
-#define FETile_h
+#pragma once
#include "FilterEffect.h"
#include "Filter.h"
@@ -46,4 +45,3 @@
} // namespace WebCore
-#endif // FETile_h