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

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

Issue 2642103002: Move ImageLoader timer to frame-specific TaskRunnerTimer. (Closed)
Patch Set: Move ImageLoader timer to frame-specific TaskRunnerTimer. Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 void dispose(); 152 void dispose();
153 153
154 Member<Element> m_element; 154 Member<Element> m_element;
155 Member<ImageResourceContent> m_image; 155 Member<ImageResourceContent> m_image;
156 Member<ImageResource> m_imageResourceForImageDocument; 156 Member<ImageResource> m_imageResourceForImageDocument;
157 // FIXME: Oilpan: We might be able to remove this Persistent hack when 157 // FIXME: Oilpan: We might be able to remove this Persistent hack when
158 // ImageResourceClient is traceable. 158 // ImageResourceClient is traceable.
159 GC_PLUGIN_IGNORE("http://crbug.com/383741") 159 GC_PLUGIN_IGNORE("http://crbug.com/383741")
160 Persistent<Element> m_keepAlive; 160 Persistent<Element> m_keepAlive;
161 161
162 Timer<ImageLoader> m_derefElementTimer; 162 TaskRunnerTimer<ImageLoader> m_derefElementTimer;
163 AtomicString m_failedLoadURL; 163 AtomicString m_failedLoadURL;
164 WeakPtr<Task> m_pendingTask; // owned by Microtask 164 WeakPtr<Task> m_pendingTask; // owned by Microtask
165 std::unique_ptr<IncrementLoadEventDelayCount> m_loadDelayCounter; 165 std::unique_ptr<IncrementLoadEventDelayCount> m_loadDelayCounter;
166 bool m_hasPendingLoadEvent : 1; 166 bool m_hasPendingLoadEvent : 1;
167 bool m_hasPendingErrorEvent : 1; 167 bool m_hasPendingErrorEvent : 1;
168 bool m_imageComplete : 1; 168 bool m_imageComplete : 1;
169 bool m_loadingImageDocument : 1; 169 bool m_loadingImageDocument : 1;
170 bool m_elementIsProtected : 1; 170 bool m_elementIsProtected : 1;
171 bool m_suppressErrorEvents : 1; 171 bool m_suppressErrorEvents : 1;
172 }; 172 };
173 173
174 } // namespace blink 174 } // namespace blink
175 175
176 #endif 176 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/loader/ImageLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698