OLD | NEW |
1 /* | 1 /* |
2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) | 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) |
3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) | 3 Copyright (C) 2001 Dirk Mueller (mueller@kde.org) |
4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) | 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org) |
5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
6 Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. | 6 Copyright (C) 2004, 2005, 2006 Apple Computer, Inc. |
7 | 7 |
8 This library is free software; you can redistribute it and/or | 8 This library is free software; you can redistribute it and/or |
9 modify it under the terms of the GNU Library General Public | 9 modify it under the terms of the GNU Library General Public |
10 License as published by the Free Software Foundation; either | 10 License as published by the Free Software Foundation; either |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
182 ASSERT(sheet && sheet->isCacheable()); | 182 ASSERT(sheet && sheet->isCacheable()); |
183 | 183 |
184 if (m_parsedStyleSheetCache) | 184 if (m_parsedStyleSheetCache) |
185 m_parsedStyleSheetCache->removedFromMemoryCache(); | 185 m_parsedStyleSheetCache->removedFromMemoryCache(); |
186 m_parsedStyleSheetCache = sheet; | 186 m_parsedStyleSheetCache = sheet; |
187 m_parsedStyleSheetCache->addedToMemoryCache(); | 187 m_parsedStyleSheetCache->addedToMemoryCache(); |
188 | 188 |
189 setDecodedSize(m_parsedStyleSheetCache->estimatedSizeInBytes()); | 189 setDecodedSize(m_parsedStyleSheetCache->estimatedSizeInBytes()); |
190 } | 190 } |
191 | 191 |
192 } | 192 } // namespace blink |
OLD | NEW |