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

Side by Side Diff: Source/core/css/RuleSet.cpp

Issue 208263004: Move TraceEvent.h from platform/ to wtf/ Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com) 3 * (C) 2004-2005 Allan Sandfeld Jensen (kde@carewolf.com)
4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com) 4 * Copyright (C) 2006, 2007 Nicholas Shanks (webkit@nickshanks.com)
5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved. 5 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All r ights reserved.
6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org> 6 * Copyright (C) 2007 Alexey Proskuryakov <ap@webkit.org>
7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org> 7 * Copyright (C) 2007, 2008 Eric Seidel <eric@webkit.org>
8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/) 8 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t orchmobile.com/)
9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved. 9 * Copyright (c) 2011, Code Aurora Forum. All rights reserved.
10 * Copyright (C) Research In Motion Limited 2011. All rights reserved. 10 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
(...skipping 23 matching lines...) Expand all
34 #include "core/css/CSSFontSelector.h" 34 #include "core/css/CSSFontSelector.h"
35 #include "core/css/CSSSelector.h" 35 #include "core/css/CSSSelector.h"
36 #include "core/css/CSSSelectorList.h" 36 #include "core/css/CSSSelectorList.h"
37 #include "core/css/SelectorChecker.h" 37 #include "core/css/SelectorChecker.h"
38 #include "core/css/SelectorCheckerFastPath.h" 38 #include "core/css/SelectorCheckerFastPath.h"
39 #include "core/css/SelectorFilter.h" 39 #include "core/css/SelectorFilter.h"
40 #include "core/css/StyleRuleImport.h" 40 #include "core/css/StyleRuleImport.h"
41 #include "core/css/StyleSheetContents.h" 41 #include "core/css/StyleSheetContents.h"
42 #include "core/html/track/TextTrackCue.h" 42 #include "core/html/track/TextTrackCue.h"
43 #include "heap/HeapTerminatedArrayBuilder.h" 43 #include "heap/HeapTerminatedArrayBuilder.h"
44 #include "platform/TraceEvent.h"
45 #include "platform/weborigin/SecurityOrigin.h" 44 #include "platform/weborigin/SecurityOrigin.h"
46
47 #include "wtf/TerminatedArrayBuilder.h" 45 #include "wtf/TerminatedArrayBuilder.h"
46 #include "wtf/TraceEvent.h"
48 47
49 namespace WebCore { 48 namespace WebCore {
50 49
51 using namespace HTMLNames; 50 using namespace HTMLNames;
52 51
53 // ----------------------------------------------------------------- 52 // -----------------------------------------------------------------
54 53
55 static inline bool isSelectorMatchingHTMLBasedOnRuleHash(const CSSSelector& sele ctor) 54 static inline bool isSelectorMatchingHTMLBasedOnRuleHash(const CSSSelector& sele ctor)
56 { 55 {
57 if (selector.m_match == CSSSelector::Tag) { 56 if (selector.m_match == CSSSelector::Tag) {
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
408 407
409 #ifndef NDEBUG 408 #ifndef NDEBUG
410 void RuleSet::show() 409 void RuleSet::show()
411 { 410 {
412 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it != m_allRules.end(); ++it) 411 for (WillBeHeapVector<RuleData>::const_iterator it = m_allRules.begin(); it != m_allRules.end(); ++it)
413 it->selector().show(); 412 it->selector().show();
414 } 413 }
415 #endif 414 #endif
416 415
417 } // namespace WebCore 416 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698