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

Unified Diff: Source/WebCore/inspector/InspectorStyleSheet.h

Issue 11841005: Merge 138460 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 11 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 side-by-side diff with in-line comments
Download patch
Index: Source/WebCore/inspector/InspectorStyleSheet.h
===================================================================
--- Source/WebCore/inspector/InspectorStyleSheet.h (revision 139385)
+++ Source/WebCore/inspector/InspectorStyleSheet.h (working copy)
@@ -222,9 +222,10 @@
virtual bool setStyleText(CSSStyleDeclaration*, const String&);
private:
+ typedef Vector<RefPtr<CSSStyleRule> > CSSStyleRuleVector;
friend class InspectorStyle;
- static void collectFlatRules(PassRefPtr<CSSRuleList>, Vector<CSSStyleRule*>* result);
+ static void collectFlatRules(PassRefPtr<CSSRuleList>, CSSStyleRuleVector* result);
bool ensureText() const;
bool ensureSourceData();
void ensureFlatRules() const;
@@ -244,7 +245,7 @@
bool m_isRevalidating;
ParsedStyleSheet* m_parsedStyleSheet;
InspectorStyleMap m_inspectorStyles;
- mutable Vector<CSSStyleRule*> m_flatRules;
+ mutable CSSStyleRuleVector m_flatRules;
Listener* m_listener;
};
« no previous file with comments | « LayoutTests/inspector/styles/removed-rule-crash-expected.txt ('k') | Source/WebCore/inspector/InspectorStyleSheet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698