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

Unified Diff: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h

Issue 2312953002: Store a single inspector stylesheet hidden from CSSOM. (Closed)
Patch Set: Incorrect removal. Created 4 years, 3 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: third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
diff --git a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
index 8d5898de322302a3f6eb73854494a8cdb687a37b..2e8277856268f4da04c55e0cc9d8ae6a79f00849 100644
--- a/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
+++ b/third_party/WebKit/Source/core/inspector/InspectorCSSAgent.h
@@ -184,7 +184,7 @@ private:
String unbindStyleSheet(InspectorStyleSheet*);
InspectorStyleSheet* inspectorStyleSheetForRule(CSSStyleRule*);
- InspectorStyleSheet* viaInspectorStyleSheet(Document*, bool createIfAbsent);
+ InspectorStyleSheet* viaInspectorStyleSheet(Document*);
InspectorStyleSheet* assertInspectorStyleSheetForId(ErrorString*, const String&);
InspectorStyleSheetBase* assertStyleSheetForId(ErrorString*, const String&);
String detectOrigin(CSSStyleSheet* pageStyleSheet, Document* ownerDocument);
@@ -219,12 +219,10 @@ private:
HeapHashSet<Member<Document>> m_invalidatedDocuments;
NodeToInspectorStyleSheet m_nodeToInspectorStyleSheet;
- HeapHashMap<Member<Document>, Member<InspectorStyleSheet>> m_documentToViaInspectorStyleSheet; // "via inspector" stylesheets
NodeIdToForcedPseudoState m_nodeIdToForcedPseudoState;
Member<CSSStyleSheet> m_inspectorUserAgentStyleSheet;
- bool m_creatingViaInspectorStyleSheet;
bool m_isSettingStyleSheetText;
int m_resourceContentLoaderClientId;

Powered by Google App Engine
This is Rietveld 408576698