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

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

Issue 22887044: [oilpan] Make the oilpan branch build on Mac. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Add FIXME. Created 7 years, 4 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
« no previous file with comments | « Source/core/css/StyleResolver.h ('k') | Source/core/dom/ContainerNode.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 * (C) 1999-2003 Lars Knoll (knoll@kde.org) 2 * (C) 1999-2003 Lars Knoll (knoll@kde.org)
3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org) 3 * (C) 2002-2003 Dirk Mueller (mueller@kde.org)
4 * Copyright (C) 2002, 2005, 2006, 2008, 2009, 2010, 2012 Apple Inc. All rights reserved. 4 * Copyright (C) 2002, 2005, 2006, 2008, 2009, 2010, 2012 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 23 matching lines...) Expand all
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 Result<StyleRuleImport> StyleRuleImport::create(const String& href, const Handle <MediaQuerySet>& media) 37 Result<StyleRuleImport> StyleRuleImport::create(const String& href, const Handle <MediaQuerySet>& media)
38 { 38 {
39 return adopt(new StyleRuleImport(href, media)); 39 return adopt(new StyleRuleImport(href, media));
40 } 40 }
41 41
42 StyleRuleImport::StyleRuleImport(const String& href, const Handle<MediaQuerySet> & media) 42 StyleRuleImport::StyleRuleImport(const String& href, const Handle<MediaQuerySet> & media)
43 : StyleRuleBase(Import, 0) 43 : StyleRuleBase(Import, 0)
44 , m_parentStyleSheet(0)
45 , m_styleSheetClient(Handle<StyleRuleImport>(this)) 44 , m_styleSheetClient(Handle<StyleRuleImport>(this))
46 , m_strHref(href) 45 , m_strHref(href)
47 , m_mediaQueries(media) 46 , m_mediaQueries(media)
48 , m_cachedSheet(0) 47 , m_cachedSheet(0)
49 , m_loading(false) 48 , m_loading(false)
50 { 49 {
51 if (!m_mediaQueries) 50 if (!m_mediaQueries)
52 m_mediaQueries = MediaQuerySet::create(String()); 51 m_mediaQueries = MediaQuerySet::create(String());
53 } 52 }
54 53
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 135
137 void StyleRuleImport::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObject Info) const 136 void StyleRuleImport::reportDescendantMemoryUsage(MemoryObjectInfo* memoryObject Info) const
138 { 137 {
139 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS); 138 MemoryClassInfo info(memoryObjectInfo, this, WebCoreMemoryTypes::CSS);
140 info.addMember(m_strHref, "strHref"); 139 info.addMember(m_strHref, "strHref");
141 info.addMember(m_mediaQueries, "mediaQueries"); 140 info.addMember(m_mediaQueries, "mediaQueries");
142 info.addMember(m_styleSheet, "styleSheet"); 141 info.addMember(m_styleSheet, "styleSheet");
143 } 142 }
144 143
145 } // namespace WebCore 144 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/css/StyleResolver.h ('k') | Source/core/dom/ContainerNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698