Fix various --minimal build issues
authorossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Nov 2016 18:16:51 +0000 (18:16 +0000)
committerossy@webkit.org <ossy@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 27 Nov 2016 18:16:51 +0000 (18:16 +0000)
https://bugs.webkit.org/show_bug.cgi?id=165060

Reviewed by Darin Adler.

* css/parser/CSSPropertyParser.cpp:
* dom/Document.cpp:
* loader/EmptyClients.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/css/parser/CSSPropertyParser.cpp
Source/WebCore/dom/Document.cpp
Source/WebCore/loader/EmptyClients.cpp

index 64aa41e..17f99e2 100644 (file)
@@ -1,3 +1,14 @@
+2016-11-27  Csaba Osztrogon√°c  <ossy@webkit.org>
+
+        Fix various --minimal build issues
+        https://bugs.webkit.org/show_bug.cgi?id=165060
+
+        Reviewed by Darin Adler.
+
+        * css/parser/CSSPropertyParser.cpp:
+        * dom/Document.cpp:
+        * loader/EmptyClients.cpp:
+
 2016-11-26  Yusuke Suzuki  <utatane.tea@gmail.com>
 
         [WTF] Import std::optional reference implementation as WTF::Optional
index 8d85682..c030145 100644 (file)
@@ -4710,6 +4710,7 @@ bool CSSPropertyParser::consumeBackgroundShorthand(const StylePropertyShorthand&
     return true;
 }
 
+#if ENABLE(CSS_GRID_LAYOUT)
 // FIXME-NEWPARSER: Hack to work around the fact that we aren't using CSSCustomIdentValue
 // for stuff yet. This can be replaced by CSSValue::isCustomIdentValue() once we switch
 // to using CSSCustomIdentValue everywhere.
@@ -4718,7 +4719,6 @@ static bool isCustomIdentValue(const CSSValue& value)
     return is<CSSPrimitiveValue>(value) && downcast<CSSPrimitiveValue>(value).isString();
 }
 
-#if ENABLE(CSS_GRID_LAYOUT)
 bool CSSPropertyParser::consumeGridItemPositionShorthand(CSSPropertyID shorthandId, bool important)
 {
     const StylePropertyShorthand& shorthand = shorthandForProperty(shorthandId);
index b8805be..f545ee9 100644 (file)
 #include "ScriptSourceCode.h"
 #include "ScrollingCoordinator.h"
 #include "SecurityOrigin.h"
+#include "SecurityOriginData.h"
 #include "SecurityOriginPolicy.h"
 #include "SecurityPolicy.h"
 #include "SegmentedString.h"
index 4d59c00..5787c84 100644 (file)
@@ -44,6 +44,7 @@
 #include "PageConfiguration.h"
 #include "PaymentCoordinatorClient.h"
 #include "PluginInfoProvider.h"
+#include "SecurityOriginData.h"
 #include "StorageArea.h"
 #include "StorageNamespace.h"
 #include "StorageNamespaceProvider.h"