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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameSerializer.h

Issue 2036943002: Reduced the callers to the non-const version of CSSValueList::item() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_make_cssvaluelist_take_const_ref
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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // Serializes the css rule (including any imported stylesheets), adding refe renced resources. 121 // Serializes the css rule (including any imported stylesheets), adding refe renced resources.
122 void serializeCSSRule(CSSRule*); 122 void serializeCSSRule(CSSRule*);
123 123
124 bool shouldAddURL(const KURL&); 124 bool shouldAddURL(const KURL&);
125 125
126 void addToResources(const Resource&, PassRefPtr<SharedBuffer>, const KURL&); 126 void addToResources(const Resource&, PassRefPtr<SharedBuffer>, const KURL&);
127 void addImageToResources(ImageResource*, const KURL&); 127 void addImageToResources(ImageResource*, const KURL&);
128 void addFontToResources(FontResource*); 128 void addFontToResources(FontResource*);
129 129
130 void retrieveResourcesForProperties(const StylePropertySet*, Document&); 130 void retrieveResourcesForProperties(const StylePropertySet*, Document&);
131 void retrieveResourcesForCSSValue(CSSValue*, Document&); 131 void retrieveResourcesForCSSValue(const CSSValue*, Document&);
132 132
133 Vector<SerializedResource>* m_resources; 133 Vector<SerializedResource>* m_resources;
134 HashSet<KURL> m_resourceURLs; 134 HashSet<KURL> m_resourceURLs;
135 135
136 Delegate& m_delegate; 136 Delegate& m_delegate;
137 }; 137 };
138 138
139 } // namespace blink 139 } // namespace blink
140 140
141 #endif // FrameSerializer_h 141 #endif // FrameSerializer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698