OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> | 2 * Copyright (C) 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> |
3 * Copyright (C) 2006 Apple Computer Inc. | 3 * Copyright (C) 2006 Apple Computer Inc. |
4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
5 * Copyright (C) 2008 Rob Buis <buis@kde.org> | 5 * Copyright (C) 2008 Rob Buis <buis@kde.org> |
6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
238 } | 238 } |
239 | 239 |
240 PassRefPtr<StringImpl> LayoutSVGInlineText::originalText() const | 240 PassRefPtr<StringImpl> LayoutSVGInlineText::originalText() const |
241 { | 241 { |
242 RefPtr<StringImpl> result = LayoutText::originalText(); | 242 RefPtr<StringImpl> result = LayoutText::originalText(); |
243 if (!result) | 243 if (!result) |
244 return nullptr; | 244 return nullptr; |
245 return applySVGWhitespaceRules(result, style() && style()->whiteSpace() == P
RE); | 245 return applySVGWhitespaceRules(result, style() && style()->whiteSpace() == P
RE); |
246 } | 246 } |
247 | 247 |
248 } | 248 } // namespace blink |
OLD | NEW |