Title: [164826] trunk/Source/WebCore
Revision
164826
Author
[email protected]
Date
2014-02-27 13:02:14 -0800 (Thu, 27 Feb 2014)

Log Message

Unreviewed build fix after r164824.

Accidentally re-added some code that was removed.

* page/ContentSecurityPolicy.cpp:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (164825 => 164826)


--- trunk/Source/WebCore/ChangeLog	2014-02-27 20:45:52 UTC (rev 164825)
+++ trunk/Source/WebCore/ChangeLog	2014-02-27 21:02:14 UTC (rev 164826)
@@ -1,3 +1,11 @@
+2014-02-27  Joseph Pecoraro  <[email protected]>
+
+        Unreviewed build fix after r164824.
+
+        Accidentally re-added some code that was removed.
+
+        * page/ContentSecurityPolicy.cpp:
+
 2014-02-26  Alex Christensen  <[email protected]>
 
         Compile fix when not using TEXTURE_MAPPER_GL.

Modified: trunk/Source/WebCore/page/ContentSecurityPolicy.cpp (164825 => 164826)


--- trunk/Source/WebCore/page/ContentSecurityPolicy.cpp	2014-02-27 20:45:52 UTC (rev 164825)
+++ trunk/Source/WebCore/page/ContentSecurityPolicy.cpp	2014-02-27 21:02:14 UTC (rev 164826)
@@ -154,22 +154,6 @@
     );
 }
 
-FeatureObserver::Feature getFeatureObserverType(ContentSecurityPolicy::HeaderType type)
-{
-    switch (type) {
-    case ContentSecurityPolicy::PrefixedEnforce:
-        return FeatureObserver::PrefixedContentSecurityPolicy;
-    case ContentSecurityPolicy::Enforce:
-        return FeatureObserver::ContentSecurityPolicy;
-    case ContentSecurityPolicy::PrefixedReport:
-        return FeatureObserver::PrefixedContentSecurityPolicyReportOnly;
-    case ContentSecurityPolicy::Report:
-        return FeatureObserver::ContentSecurityPolicyReportOnly;
-    }
-    ASSERT_NOT_REACHED();
-    return FeatureObserver::NumberOfFeatures;
-}
-
 } // namespace
 
 static bool skipExactly(const UChar*& position, const UChar* end, UChar delimiter)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to