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

Side by Side Diff: Source/core/dom/EventListenerMap.cpp

Issue 17480002: Remove unused includes from core/accessibility, core/css and core/dom (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: rebased ; update <wtf/Foo.h> to "wtf/Foo.h" in changed files Created 7 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
« no previous file with comments | « Source/core/dom/EventDispatcher.cpp ('k') | Source/core/dom/EventRetargeter.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 * (C) 2001 Dirk Mueller (mueller@kde.org) 4 * (C) 2001 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 5 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 6 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> 7 * (C) 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org>
8 * Copyright (C) 2011 Andreas Kling (kling@webkit.org) 8 * Copyright (C) 2011 Andreas Kling (kling@webkit.org)
9 * 9 *
10 * Redistribution and use in source and binary forms, with or without 10 * Redistribution and use in source and binary forms, with or without
(...skipping 16 matching lines...) Expand all
27 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 28 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
30 * 30 *
31 */ 31 */
32 32
33 #include "config.h" 33 #include "config.h"
34 #include "core/dom/EventListenerMap.h" 34 #include "core/dom/EventListenerMap.h"
35 35
36 #include "core/dom/EventTarget.h" 36 #include "core/dom/EventTarget.h"
37 #include <wtf/MainThread.h> 37 #include "wtf/StdLibExtras.h"
38 #include <wtf/StdLibExtras.h> 38 #include "wtf/Vector.h"
39 #include <wtf/Vector.h>
40 39
41 #ifndef NDEBUG 40 #ifndef NDEBUG
42 #include <wtf/Threading.h> 41 #include "wtf/Threading.h"
43 #endif 42 #endif
44 43
45 using namespace WTF; 44 using namespace WTF;
46 45
47 namespace WebCore { 46 namespace WebCore {
48 47
49 #ifndef NDEBUG 48 #ifndef NDEBUG
50 static Mutex& activeIteratorCountMutex() 49 static Mutex& activeIteratorCountMutex()
51 { 50 {
52 DEFINE_STATIC_LOCAL(Mutex, mutex, ()); 51 DEFINE_STATIC_LOCAL(Mutex, mutex, ());
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 EventListenerVector& listeners = *m_map->m_entries[m_entryIndex].second; 249 EventListenerVector& listeners = *m_map->m_entries[m_entryIndex].second;
251 if (m_index < listeners.size()) 250 if (m_index < listeners.size())
252 return listeners[m_index++].listener.get(); 251 return listeners[m_index++].listener.get();
253 m_index = 0; 252 m_index = 0;
254 } 253 }
255 254
256 return 0; 255 return 0;
257 } 256 }
258 257
259 } // namespace WebCore 258 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/dom/EventDispatcher.cpp ('k') | Source/core/dom/EventRetargeter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698