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

Unified Diff: third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h

Issue 2038443003: Made ElementStyleResources store const CSSSVGDocumentValues (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@+delete_nonconst_cssvaluelist_item_function
Patch Set: Rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
diff --git a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
index 28cba1f678f18290c143e63c699ccf55b107b289..355e8aab20b7ea628cd7606dc301db95848fd32b 100644
--- a/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
+++ b/third_party/WebKit/Source/core/css/resolver/ElementStyleResources.h
@@ -59,7 +59,7 @@ public:
void loadPendingResources(ComputedStyle*);
- void addPendingSVGDocument(FilterOperation*, CSSSVGDocumentValue*);
+ void addPendingSVGDocument(FilterOperation*, const CSSSVGDocumentValue*);
private:
StyleImage* cursorOrPendingFromValue(CSSPropertyID, const CSSCursorImageValue&);
@@ -72,7 +72,7 @@ private:
Member<Document> m_document;
HashSet<CSSPropertyID> m_pendingImageProperties;
- HeapHashMap<Member<FilterOperation>, Member<CSSSVGDocumentValue>> m_pendingSVGDocuments;
+ HeapHashMap<Member<FilterOperation>, Member<const CSSSVGDocumentValue>> m_pendingSVGDocuments;
float m_deviceScaleFactor;
};

Powered by Google App Engine
This is Rietveld 408576698