| Index: Source/core/inspector/InspectorStyleSheet.cpp
 | 
| diff --git a/Source/core/inspector/InspectorStyleSheet.cpp b/Source/core/inspector/InspectorStyleSheet.cpp
 | 
| index e505a1f811ae327420a9f66e0c7a772e6f7f52b4..73a30003ae574c3062e024fe0c727e214b3c84f5 100644
 | 
| --- a/Source/core/inspector/InspectorStyleSheet.cpp
 | 
| +++ b/Source/core/inspector/InspectorStyleSheet.cpp
 | 
| @@ -31,7 +31,6 @@
 | 
|  #include "core/CSSPropertyNames.h"
 | 
|  #include "core/css/CSSKeyframesRule.h"
 | 
|  #include "core/css/CSSMediaRule.h"
 | 
| -#include "core/css/parser/BisonCSSParser.h"
 | 
|  #include "core/css/CSSRuleList.h"
 | 
|  #include "core/css/CSSStyleRule.h"
 | 
|  #include "core/css/CSSStyleSheet.h"
 | 
| @@ -39,6 +38,7 @@
 | 
|  #include "core/css/StylePropertySet.h"
 | 
|  #include "core/css/StyleRule.h"
 | 
|  #include "core/css/StyleSheetContents.h"
 | 
| +#include "core/css/parser/CSSParser.h"
 | 
|  #include "core/dom/Document.h"
 | 
|  #include "core/dom/Element.h"
 | 
|  #include "core/html/HTMLStyleElement.h"
 | 
| @@ -106,7 +106,7 @@
 | 
|      RawPtrWillBeMember<RuleSourceDataList> m_result;
 | 
|      RuleSourceDataList m_currentRuleDataStack;
 | 
|      RefPtrWillBeMember<CSSRuleSourceData> m_currentRuleData;
 | 
| -    BisonCSSParser m_commentParser;
 | 
| +    CSSParser m_commentParser;
 | 
|      unsigned m_propertyRangeStart;
 | 
|      unsigned m_selectorRangeStart;
 | 
|      unsigned m_commentRangeStart;
 | 
| @@ -335,7 +335,7 @@
 | 
|      // FIXME: Use the actual rule type rather than STYLE_RULE?
 | 
|      RuleSourceDataList sourceData;
 | 
|  
 | 
| -    // FIXME: Use another subclass of BisonCSSParser::SourceDataHandler and assert that
 | 
| +    // FIXME: Use another subclass of CSSParserObserver and assert that
 | 
|      // no comments are encountered (will not need m_document and m_styleSheetContents).
 | 
|      StyleSheetHandler handler(commentText, m_document, m_styleSheetContents, &sourceData);
 | 
|      RefPtrWillBeRawPtr<MutableStylePropertySet> tempMutableStyle = MutableStylePropertySet::create();
 | 
| @@ -418,7 +418,7 @@
 | 
|      RefPtrWillBeRawPtr<StyleSheetContents> newStyleSheet = StyleSheetContents::create(strictCSSParserContext());
 | 
|      OwnPtrWillBeRawPtr<RuleSourceDataList> result = adoptPtrWillBeNoop(new RuleSourceDataList());
 | 
|      StyleSheetHandler handler(text(), m_pageStyleSheet->ownerDocument(), newStyleSheet.get(), result.get());
 | 
| -    BisonCSSParser(parserContextForDocument(m_pageStyleSheet->ownerDocument())).parseSheet(newStyleSheet.get(), text(), TextPosition::minimumPosition(), &handler);
 | 
| +    CSSParser::parseSheet(parserContextForDocument(m_pageStyleSheet->ownerDocument()), newStyleSheet.get(), text(), TextPosition::minimumPosition(), &handler);
 | 
|      setSourceData(result.release());
 | 
|      return hasSourceData();
 | 
|  }
 | 
| @@ -554,7 +554,7 @@
 | 
|      RefPtrWillBeRawPtr<StyleSheetContents> styleSheetContents = StyleSheetContents::create(strictCSSParserContext());
 | 
|      String declarationText = propertyText + (canOmitSemicolon ? ";" : " ") + bogusPropertyName + ": none";
 | 
|      StyleSheetHandler handler(declarationText, ownerDocument(), styleSheetContents.get(), &sourceData);
 | 
| -    BisonCSSParser(parserContextForDocument(ownerDocument())).parseDeclaration(tempMutableStyle.get(), declarationText, &handler, styleSheetContents.get());
 | 
| +    CSSParser(parserContextForDocument(ownerDocument())).parseDeclaration(tempMutableStyle.get(), declarationText, &handler, styleSheetContents.get());
 | 
|      WillBeHeapVector<CSSPropertySourceData>& propertyData = sourceData.first()->styleSourceData->propertyData;
 | 
|      unsigned propertyCount = propertyData.size();
 | 
|  
 | 
| @@ -1134,7 +1134,7 @@
 | 
|      RefPtrWillBeRawPtr<StyleSheetContents> styleSheetContents = StyleSheetContents::create(strictCSSParserContext());
 | 
|      String text = ruleText + " div { " + bogusPropertyName + ": none; }";
 | 
|      StyleSheetHandler handler(text, ownerDocument(), styleSheetContents.get(), &sourceData);
 | 
| -    BisonCSSParser(parserContextForDocument(ownerDocument())).parseSheet(styleSheetContents.get(), text, TextPosition::minimumPosition(), &handler);
 | 
| +    CSSParser::parseSheet(parserContextForDocument(ownerDocument()), styleSheetContents.get(), text, TextPosition::minimumPosition(), &handler);
 | 
|      unsigned ruleCount = sourceData.size();
 | 
|  
 | 
|      // Exactly two rules should be parsed.
 | 
| @@ -1812,7 +1812,7 @@
 | 
|      RefPtrWillBeRawPtr<MutableStylePropertySet> tempDeclaration = MutableStylePropertySet::create();
 | 
|      RuleSourceDataList ruleSourceDataResult;
 | 
|      StyleSheetHandler handler(m_styleText, &m_element->document(), m_element->document().elementSheet().contents(), &ruleSourceDataResult);
 | 
| -    BisonCSSParser(parserContextForDocument(&m_element->document())).parseDeclaration(tempDeclaration.get(), m_styleText, &handler, m_element->document().elementSheet().contents());
 | 
| +    CSSParser(parserContextForDocument(&m_element->document())).parseDeclaration(tempDeclaration.get(), m_styleText, &handler, m_element->document().elementSheet().contents());
 | 
|      return ruleSourceDataResult.first().release();
 | 
|  }
 | 
|  
 | 
| 
 |