Title: [270672] trunk/Source/WebCore
Revision
270672
Author
[email protected]
Date
2020-12-11 02:45:34 -0800 (Fri, 11 Dec 2020)

Log Message

Unreviewed. Remove temporary workaround added to fix the build with GCC 10

Revert r269948. The bug has already been fixed in GCC.

* platform/network/ResourceResponseBase.cpp:
(WebCore::ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (270671 => 270672)


--- trunk/Source/WebCore/ChangeLog	2020-12-11 10:11:19 UTC (rev 270671)
+++ trunk/Source/WebCore/ChangeLog	2020-12-11 10:45:34 UTC (rev 270672)
@@ -1,3 +1,12 @@
+2020-12-11  Carlos Garcia Campos  <[email protected]>
+
+        Unreviewed. Remove temporary workaround added to fix the build with GCC 10
+
+        Revert r269948. The bug has already been fixed in GCC.
+
+        * platform/network/ResourceResponseBase.cpp:
+        (WebCore::ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting):
+
 2020-12-10  Alex Christensen  <[email protected]>
 
         Accept click measurement data from hosting application

Modified: trunk/Source/WebCore/platform/network/ResourceResponseBase.cpp (270671 => 270672)


--- trunk/Source/WebCore/platform/network/ResourceResponseBase.cpp	2020-12-11 10:11:19 UTC (rev 270671)
+++ trunk/Source/WebCore/platform/network/ResourceResponseBase.cpp	2020-12-11 10:45:34 UTC (rev 270672)
@@ -439,10 +439,7 @@
 
 void ResourceResponseBase::sanitizeHTTPHeaderFieldsAccordingToTainting()
 {
-    // FIXME: we don't really need to construct a Tainting here, this is just a workaround
-    // for a GCC 10 bug (see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97634), that will
-    // be removed once the bug is fixed.
-    switch (Tainting(m_tainting)) {
+    switch (m_tainting) {
     case ResourceResponse::Tainting::Basic:
         return;
     case ResourceResponse::Tainting::Cors: {
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to