Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(660)

Side by Side Diff: Source/core/inspector/InspectorStyleSheet.cpp

Issue 1185603002: Oilpan: add missing transition type on stack allocated StyleSheetHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 virtual void endMediaQueryExp(unsigned offset) override; 92 virtual void endMediaQueryExp(unsigned offset) override;
93 virtual void startMediaQuery() override; 93 virtual void startMediaQuery() override;
94 virtual void endMediaQuery() override; 94 virtual void endMediaQuery() override;
95 95
96 void addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData>); 96 void addNewRuleToSourceTree(PassRefPtrWillBeRawPtr<CSSRuleSourceData>);
97 PassRefPtrWillBeRawPtr<CSSRuleSourceData> popRuleData(); 97 PassRefPtrWillBeRawPtr<CSSRuleSourceData> popRuleData();
98 template <typename CharacterType> inline void setRuleHeaderEnd(const Charact erType*, unsigned); 98 template <typename CharacterType> inline void setRuleHeaderEnd(const Charact erType*, unsigned);
99 void fixUnparsedPropertyRanges(CSSRuleSourceData*); 99 void fixUnparsedPropertyRanges(CSSRuleSourceData*);
100 100
101 const String& m_parsedText; 101 const String& m_parsedText;
102 Document* m_document; 102 RawPtrWillBeMember<Document> m_document;
103 RuleSourceDataList* m_result; 103 RuleSourceDataList* m_result;
104 RuleSourceDataList m_currentRuleDataStack; 104 RuleSourceDataList m_currentRuleDataStack;
105 RefPtrWillBeMember<CSSRuleSourceData> m_currentRuleData; 105 RefPtrWillBeMember<CSSRuleSourceData> m_currentRuleData;
106 RefPtrWillBeMember<CSSMediaQuerySourceData> m_currentMediaQueryData; 106 RefPtrWillBeMember<CSSMediaQuerySourceData> m_currentMediaQueryData;
107 unsigned m_mediaQueryExpValueRangeStart; 107 unsigned m_mediaQueryExpValueRangeStart;
108 }; 108 };
109 109
110 void StyleSheetHandler::startRuleHeader(StyleRule::Type type, unsigned offset) 110 void StyleSheetHandler::startRuleHeader(StyleRule::Type type, unsigned offset)
111 { 111 {
112 // Pop off data for a previous invalid rule. 112 // Pop off data for a previous invalid rule.
(...skipping 1820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1933 1933
1934 DEFINE_TRACE(InspectorStyleSheetForInlineStyle) 1934 DEFINE_TRACE(InspectorStyleSheetForInlineStyle)
1935 { 1935 {
1936 visitor->trace(m_element); 1936 visitor->trace(m_element);
1937 visitor->trace(m_ruleSourceData); 1937 visitor->trace(m_ruleSourceData);
1938 visitor->trace(m_inspectorStyle); 1938 visitor->trace(m_inspectorStyle);
1939 InspectorStyleSheetBase::trace(visitor); 1939 InspectorStyleSheetBase::trace(visitor);
1940 } 1940 }
1941 1941
1942 } // namespace blink 1942 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698