| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. | 2 * Copyright (C) 2012 Intel Corporation. All rights reserved. |
| 3 * Copyright (C) 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2012 Apple Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above | 9 * 1. Redistributions of source code must retain the above |
| 10 * copyright notice, this list of conditions and the following | 10 * copyright notice, this list of conditions and the following |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 result.append(decls); | 60 result.append(decls); |
| 61 if (!decls.isEmpty()) | 61 if (!decls.isEmpty()) |
| 62 result.append(' '); | 62 result.append(' '); |
| 63 | 63 |
| 64 result.append('}'); | 64 result.append('}'); |
| 65 | 65 |
| 66 return result.toString(); | 66 return result.toString(); |
| 67 } | 67 } |
| 68 | 68 |
| 69 void CSSViewportRule::reattach(StyleRuleBase* rule) { | 69 void CSSViewportRule::reattach(StyleRuleBase* rule) { |
| 70 ASSERT(rule); | 70 DCHECK(rule); |
| 71 m_viewportRule = toStyleRuleViewport(rule); | 71 m_viewportRule = toStyleRuleViewport(rule); |
| 72 if (m_propertiesCSSOMWrapper) | 72 if (m_propertiesCSSOMWrapper) |
| 73 m_propertiesCSSOMWrapper->reattach(m_viewportRule->mutableProperties()); | 73 m_propertiesCSSOMWrapper->reattach(m_viewportRule->mutableProperties()); |
| 74 } | 74 } |
| 75 | 75 |
| 76 DEFINE_TRACE(CSSViewportRule) { | 76 DEFINE_TRACE(CSSViewportRule) { |
| 77 visitor->trace(m_viewportRule); | 77 visitor->trace(m_viewportRule); |
| 78 visitor->trace(m_propertiesCSSOMWrapper); | 78 visitor->trace(m_propertiesCSSOMWrapper); |
| 79 CSSRule::trace(visitor); | 79 CSSRule::trace(visitor); |
| 80 } | 80 } |
| 81 | 81 |
| 82 } // namespace blink | 82 } // namespace blink |
| OLD | NEW |