OLD | NEW |
---|---|
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
65 , m_isMutable(false) | 65 , m_isMutable(false) |
66 , m_isInMemoryCache(false) | 66 , m_isInMemoryCache(false) |
67 , m_hasFontFaceRule(false) | 67 , m_hasFontFaceRule(false) |
68 , m_hasMediaQueries(false) | 68 , m_hasMediaQueries(false) |
69 , m_hasSingleOwnerDocument(true) | 69 , m_hasSingleOwnerDocument(true) |
70 , m_parserContext(context) | 70 , m_parserContext(context) |
71 { | 71 { |
72 } | 72 } |
73 | 73 |
74 StyleSheetContents::StyleSheetContents(const StyleSheetContents& o) | 74 StyleSheetContents::StyleSheetContents(const StyleSheetContents& o) |
75 : m_ownerRule(nullptr) | 75 : m_ownerRule(o.m_ownerRule) |
Timothy Loh
2016/01/27 00:56:45
what doesn't work if you don't change this?
nainar
2016/01/27 07:50:42
There is no difference with respect to my code cha
alancutter (OOO until 2018)
2016/01/27 23:34:35
Double check that it still works in a full chrome
| |
76 , m_originalURL(o.m_originalURL) | 76 , m_originalURL(o.m_originalURL) |
77 , m_importRules(o.m_importRules.size()) | 77 , m_importRules(o.m_importRules.size()) |
78 , m_namespaceRules(o.m_namespaceRules.size()) | 78 , m_namespaceRules(o.m_namespaceRules.size()) |
79 , m_childRules(o.m_childRules.size()) | 79 , m_childRules(o.m_childRules.size()) |
80 , m_namespaces(o.m_namespaces) | 80 , m_namespaces(o.m_namespaces) |
81 , m_defaultNamespace(o.m_defaultNamespace) | 81 , m_defaultNamespace(o.m_defaultNamespace) |
82 , m_hasSyntacticallyValidCSSHeader(o.m_hasSyntacticallyValidCSSHeader) | 82 , m_hasSyntacticallyValidCSSHeader(o.m_hasSyntacticallyValidCSSHeader) |
83 , m_didLoadErrorOccur(false) | 83 , m_didLoadErrorOccur(false) |
84 , m_isMutable(false) | 84 , m_isMutable(false) |
85 , m_isInMemoryCache(false) | 85 , m_isInMemoryCache(false) |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
675 visitor->trace(m_importRules); | 675 visitor->trace(m_importRules); |
676 visitor->trace(m_namespaceRules); | 676 visitor->trace(m_namespaceRules); |
677 visitor->trace(m_childRules); | 677 visitor->trace(m_childRules); |
678 visitor->trace(m_loadingClients); | 678 visitor->trace(m_loadingClients); |
679 visitor->trace(m_completedClients); | 679 visitor->trace(m_completedClients); |
680 visitor->trace(m_ruleSet); | 680 visitor->trace(m_ruleSet); |
681 #endif | 681 #endif |
682 } | 682 } |
683 | 683 |
684 } | 684 } |
OLD | NEW |