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

Side by Side Diff: Source/core/loader/ImageLoader.h

Issue 1013213002: Fix template angle bracket syntax in core (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 9 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 | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/ProgressTracker.h » ('j') | 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) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2004, 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2004, 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 ImageLoader& m_loader; 161 ImageLoader& m_loader;
162 ImageLoaderClient& m_client; 162 ImageLoaderClient& m_client;
163 }; 163 };
164 friend class ImageLoaderClientRemover; 164 friend class ImageLoaderClientRemover;
165 // Oilpan: This ImageLoader object must outlive its clients because they 165 // Oilpan: This ImageLoader object must outlive its clients because they
166 // need to call ImageLoader::willRemoveClient before they 166 // need to call ImageLoader::willRemoveClient before they
167 // die. Non-Persistent HeapHashMap doesn't work well because weak processing 167 // die. Non-Persistent HeapHashMap doesn't work well because weak processing
168 // for HeapHashMap is not triggered when both of ImageLoader and 168 // for HeapHashMap is not triggered when both of ImageLoader and
169 // ImageLoaderClient are unreachable. 169 // ImageLoaderClient are unreachable.
170 GC_PLUGIN_IGNORE("http://crbug.com/383742") 170 GC_PLUGIN_IGNORE("http://crbug.com/383742")
171 PersistentHeapHashMap<WeakMember<ImageLoaderClient>, OwnPtr<ImageLoaderClien tRemover> > m_clients; 171 PersistentHeapHashMap<WeakMember<ImageLoaderClient>, OwnPtr<ImageLoaderClien tRemover>> m_clients;
172 #else 172 #else
173 HashSet<ImageLoaderClient*> m_clients; 173 HashSet<ImageLoaderClient*> m_clients;
174 #endif 174 #endif
175 Timer<ImageLoader> m_derefElementTimer; 175 Timer<ImageLoader> m_derefElementTimer;
176 AtomicString m_failedLoadURL; 176 AtomicString m_failedLoadURL;
177 WeakPtr<Task> m_pendingTask; // owned by Microtask 177 WeakPtr<Task> m_pendingTask; // owned by Microtask
178 OwnPtr<IncrementLoadEventDelayCount> m_loadDelayCounter; 178 OwnPtr<IncrementLoadEventDelayCount> m_loadDelayCounter;
179 bool m_hasPendingLoadEvent : 1; 179 bool m_hasPendingLoadEvent : 1;
180 bool m_hasPendingErrorEvent : 1; 180 bool m_hasPendingErrorEvent : 1;
181 bool m_imageComplete : 1; 181 bool m_imageComplete : 1;
182 bool m_loadingImageDocument : 1; 182 bool m_loadingImageDocument : 1;
183 bool m_elementIsProtected : 1; 183 bool m_elementIsProtected : 1;
184 bool m_suppressErrorEvents : 1; 184 bool m_suppressErrorEvents : 1;
185 unsigned m_highPriorityClientCount; 185 unsigned m_highPriorityClientCount;
186 }; 186 };
187 187
188 } 188 }
189 189
190 #endif 190 #endif
OLDNEW
« no previous file with comments | « Source/core/loader/FrameLoader.cpp ('k') | Source/core/loader/ProgressTracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698