| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 2  * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 
| 3  * | 3  * | 
| 4  * This library is free software; you can redistribute it and/or | 4  * This library is free software; you can redistribute it and/or | 
| 5  * modify it under the terms of the GNU Library General Public | 5  * modify it under the terms of the GNU Library General Public | 
| 6  * License as published by the Free Software Foundation; either | 6  * License as published by the Free Software Foundation; either | 
| 7  * version 2 of the License, or (at your option) any later version. | 7  * version 2 of the License, or (at your option) any later version. | 
| 8  * | 8  * | 
| 9  * This library is distributed in the hope that it will be useful, | 9  * This library is distributed in the hope that it will be useful, | 
| 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 226 { | 226 { | 
| 227     ASSERT(!m_value); | 227     ASSERT(!m_value); | 
| 228 | 228 | 
| 229     RefPtr<MeterInnerElement> inner = MeterInnerElement::create(document()); | 229     RefPtr<MeterInnerElement> inner = MeterInnerElement::create(document()); | 
| 230     root->appendChild(inner); | 230     root->appendChild(inner); | 
| 231 | 231 | 
| 232     RefPtr<MeterBarElement> bar = MeterBarElement::create(document()); | 232     RefPtr<MeterBarElement> bar = MeterBarElement::create(document()); | 
| 233     m_value = MeterValueElement::create(document()); | 233     m_value = MeterValueElement::create(document()); | 
| 234     m_value->setWidthPercentage(0); | 234     m_value->setWidthPercentage(0); | 
| 235     m_value->updatePseudo(); | 235     m_value->updatePseudo(); | 
| 236     bar->appendChild(m_value, ASSERT_NO_EXCEPTION_STATE); | 236     bar->appendChild(m_value, ASSERT_NO_EXCEPTION); | 
| 237 | 237 | 
| 238     inner->appendChild(bar, ASSERT_NO_EXCEPTION_STATE); | 238     inner->appendChild(bar, ASSERT_NO_EXCEPTION); | 
| 239 } | 239 } | 
| 240 | 240 | 
| 241 } // namespace | 241 } // namespace | 
| OLD | NEW | 
|---|