Title: [201173] trunk/Source/WebCore
Revision
201173
Author
[email protected]
Date
2016-05-19 11:50:32 -0700 (Thu, 19 May 2016)

Log Message

Fix the build with GCC 4.9 in CSSParser.cpp
https://bugs.webkit.org/show_bug.cgi?id=157887

Reviewed by Chris Dumez.

* css/CSSParser.cpp:
(WebCore::CSSParser::createViewportRule):
* css/CSSParser.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (201172 => 201173)


--- trunk/Source/WebCore/ChangeLog	2016-05-19 18:39:04 UTC (rev 201172)
+++ trunk/Source/WebCore/ChangeLog	2016-05-19 18:50:32 UTC (rev 201173)
@@ -1,3 +1,14 @@
+2016-05-19  Csaba Osztrogonác  <[email protected]>
+
+        Fix the build with GCC 4.9 in CSSParser.cpp
+        https://bugs.webkit.org/show_bug.cgi?id=157887
+
+        Reviewed by Chris Dumez.
+
+        * css/CSSParser.cpp:
+        (WebCore::CSSParser::createViewportRule):
+        * css/CSSParser.h:
+
 2016-05-18  Brian Burg  <[email protected]>
 
         Web Inspector: use a consistent prefix for injected scripts

Modified: trunk/Source/WebCore/css/CSSParser.cpp (201172 => 201173)


--- trunk/Source/WebCore/css/CSSParser.cpp	2016-05-19 18:39:04 UTC (rev 201172)
+++ trunk/Source/WebCore/css/CSSParser.cpp	2016-05-19 18:50:32 UTC (rev 201173)
@@ -13456,7 +13456,7 @@
 }
 
 #if ENABLE(CSS_DEVICE_ADAPTATION)
-Ref<StyleRuleBase> CSSParser::createViewportRule()
+Ref<StyleRuleViewport> CSSParser::createViewportRule()
 {
     m_allowImportRules = m_allowNamespaceDeclarations = false;
 

Modified: trunk/Source/WebCore/css/CSSParser.h (201172 => 201173)


--- trunk/Source/WebCore/css/CSSParser.h	2016-05-19 18:39:04 UTC (rev 201172)
+++ trunk/Source/WebCore/css/CSSParser.h	2016-05-19 18:50:32 UTC (rev 201173)
@@ -67,6 +67,7 @@
 class StylePropertyShorthand;
 class StyleRuleBase;
 class StyleRuleKeyframes;
+class StyleRuleViewport;
 class StyleKeyframe;
 class StyleSheetContents;
 class StyledElement;
@@ -462,7 +463,7 @@
 #if ENABLE(CSS_DEVICE_ADAPTATION)
     void markViewportRuleBodyStart() { m_inViewport = true; }
     void markViewportRuleBodyEnd() { m_inViewport = false; }
-    Ref<StyleRuleBase> createViewportRule();
+    Ref<StyleRuleViewport> createViewportRule();
 #endif
 
     Ref<CSSPrimitiveValue> createPrimitiveNumericValue(ValueWithCalculation&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to