⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 118892 in webkit


Ignore:
Timestamp:
May 29, 2012, 9:37:21 PM (14 years ago)
Author:
haraken@chromium.org
Message:

Remove a dummy style sheet from CSSParser::parseFlowThread()
https://bugs.webkit.org/show_bug.cgi?id=87715

Reviewed by Darin Adler.

r118736 changed CSSGrammar.y so that it works fine with no style sheet.
r118736 removed a dummy style sheet from CSSParser::parserSelector().
Now we can safely remove a dummy style sheet from parserFlowThread().

Tests: fast/regions. No change in test results.

  • css/CSSParser.cpp:

(WebCore::CSSParser::parseFlowThread):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r118891 r118892  
     12012-05-29  Kentaro Hara  <haraken@chromium.org>
     2
     3        Remove a dummy style sheet from CSSParser::parseFlowThread()
     4        https://bugs.webkit.org/show_bug.cgi?id=87715
     5
     6        Reviewed by Darin Adler.
     7
     8        r118736 changed CSSGrammar.y so that it works fine with no style sheet.
     9        r118736 removed a dummy style sheet from CSSParser::parserSelector().
     10        Now we can safely remove a dummy style sheet from parserFlowThread().
     11
     12        Tests: fast/regions. No change in test results.
     13
     14        * css/CSSParser.cpp:
     15        (WebCore::CSSParser::parseFlowThread):
     16
    1172012-05-29  Yoshifumi Inoue  <yosin@chromium.org>
    218
  • trunk/Source/WebCore/css/CSSParser.cpp

    r118853 r118892  
    73657365bool CSSParser::parseFlowThread(const String& flowName)
    73667366{
    7367     RefPtr<StyleSheetContents> dummyStyleSheet = StyleSheetContents::create();
    7368     setStyleSheet(dummyStyleSheet.get());
    7369 
    73707367    setupParser("@-webkit-decls{-webkit-flow-into:", flowName, "}");
    73717368    cssyyparse(this);
Note: See TracChangeset for help on using the changeset viewer.