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

Side by Side Diff: Source/core/css/StyleSheetContents.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2006, 2007, 2012 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 14 matching lines...) Expand all
25 #include "core/css/CSSStyleSheet.h" 25 #include "core/css/CSSStyleSheet.h"
26 #include "core/css/MediaList.h" 26 #include "core/css/MediaList.h"
27 #include "core/css/StylePropertySet.h" 27 #include "core/css/StylePropertySet.h"
28 #include "core/css/StyleRule.h" 28 #include "core/css/StyleRule.h"
29 #include "core/css/StyleRuleImport.h" 29 #include "core/css/StyleRuleImport.h"
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/dom/Node.h" 31 #include "core/dom/Node.h"
32 #include "core/dom/StyleEngine.h" 32 #include "core/dom/StyleEngine.h"
33 #include "core/fetch/CSSStyleSheetResource.h" 33 #include "core/fetch/CSSStyleSheetResource.h"
34 #include "core/frame/UseCounter.h" 34 #include "core/frame/UseCounter.h"
35 #include "platform/TraceEvent.h"
36 #include "platform/weborigin/SecurityOrigin.h" 35 #include "platform/weborigin/SecurityOrigin.h"
37 #include "wtf/Deque.h" 36 #include "wtf/Deque.h"
37 #include "wtf/TraceEvent.h"
38 38
39 namespace WebCore { 39 namespace WebCore {
40 40
41 // Rough size estimate for the memory cache. 41 // Rough size estimate for the memory cache.
42 unsigned StyleSheetContents::estimatedSizeInBytes() const 42 unsigned StyleSheetContents::estimatedSizeInBytes() const
43 { 43 {
44 // Note that this does not take into account size of the strings hanging fro m various objects. 44 // Note that this does not take into account size of the strings hanging fro m various objects.
45 // The assumption is that nearly all of of them are atomic and would exist a nyway. 45 // The assumption is that nearly all of of them are atomic and would exist a nyway.
46 unsigned size = sizeof(*this); 46 unsigned size = sizeof(*this);
47 47
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
688 { 688 {
689 visitor->trace(m_ownerRule); 689 visitor->trace(m_ownerRule);
690 visitor->trace(m_importRules); 690 visitor->trace(m_importRules);
691 visitor->trace(m_childRules); 691 visitor->trace(m_childRules);
692 visitor->trace(m_loadingClients); 692 visitor->trace(m_loadingClients);
693 visitor->trace(m_completedClients); 693 visitor->trace(m_completedClients);
694 visitor->trace(m_ruleSet); 694 visitor->trace(m_ruleSet);
695 } 695 }
696 696
697 } 697 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698