Title: [136184] trunk/Source/WebCore
Revision
136184
Author
[email protected]
Date
2012-11-29 16:47:44 -0800 (Thu, 29 Nov 2012)

Log Message

REGRESSION(r134693): Compilation error on @supports grammar code
https://bugs.webkit.org/show_bug.cgi?id=103678

Patch by Pablo Flouret <[email protected]> on 2012-11-29
Reviewed by Tony Chang.

Coming from https://bugs.webkit.org/show_bug.cgi?id=102295

No new tests, compile fix.

* css/CSSGrammar.y.in:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (136183 => 136184)


--- trunk/Source/WebCore/ChangeLog	2012-11-30 00:31:41 UTC (rev 136183)
+++ trunk/Source/WebCore/ChangeLog	2012-11-30 00:47:44 UTC (rev 136184)
@@ -1,3 +1,16 @@
+2012-11-29  Pablo Flouret  <[email protected]>
+
+        REGRESSION(r134693): Compilation error on @supports grammar code
+        https://bugs.webkit.org/show_bug.cgi?id=103678
+
+        Reviewed by Tony Chang.
+
+        Coming from https://bugs.webkit.org/show_bug.cgi?id=102295
+
+        No new tests, compile fix.
+
+        * css/CSSGrammar.y.in:
+
 2012-11-29  Simon Fraser  <[email protected]>
 
         Avoid painting lots of small rects in WebLayer painting

Modified: trunk/Source/WebCore/css/CSSGrammar.y.in (136183 => 136184)


--- trunk/Source/WebCore/css/CSSGrammar.y.in	2012-11-30 00:31:41 UTC (rev 136183)
+++ trunk/Source/WebCore/css/CSSGrammar.y.in	2012-11-30 00:47:44 UTC (rev 136184)
@@ -713,11 +713,11 @@
         CSSParser* p = static_cast<CSSParser*>(parser);
         if ($3 && $6) {
             p->m_valueList = p->sinkFloatingValueList($6);
-            int oldParsedProperties = p->m_parsedProperties->size();
+            int oldParsedProperties = p->m_parsedProperties.size();
             $$ = p->parseValue(static_cast<CSSPropertyID>($3), $7);
             // We just need to know if the declaration is supported as it is written. Rollback any additions.
             if ($$)
-                p->rollbackLastProperties(p->m_parsedProperties->size() - oldParsedProperties);
+                p->rollbackLastProperties(p->m_parsedProperties.size() - oldParsedProperties);
             p->m_valueList = nullptr;
         }
         p->markPropertyEnd($7, false);
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to