| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights 
      reserved. | 2  * Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012, 2013 Apple Inc. All rights 
      reserved. | 
| 3  * | 3  * | 
| 4  * Redistribution and use in source and binary forms, with or without | 4  * Redistribution and use in source and binary forms, with or without | 
| 5  * modification, are permitted provided that the following conditions | 5  * modification, are permitted provided that the following conditions | 
| 6  * are met: | 6  * are met: | 
| 7  * 1. Redistributions of source code must retain the above copyright | 7  * 1. Redistributions of source code must retain the above copyright | 
| 8  *    notice, this list of conditions and the following disclaimer. | 8  *    notice, this list of conditions and the following disclaimer. | 
| 9  * 2. Redistributions in binary form must reproduce the above copyright | 9  * 2. Redistributions in binary form must reproduce the above copyright | 
| 10  *    notice, this list of conditions and the following disclaimer in the | 10  *    notice, this list of conditions and the following disclaimer in the | 
| (...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 539     m_inActiveDocument = false; | 539     m_inActiveDocument = false; | 
| 540     if (insertionPoint->inDocument()) { | 540     if (insertionPoint->inDocument()) { | 
| 541         configureMediaControls(); | 541         configureMediaControls(); | 
| 542         if (m_networkState > NETWORK_EMPTY) | 542         if (m_networkState > NETWORK_EMPTY) | 
| 543             pause(); | 543             pause(); | 
| 544     } | 544     } | 
| 545 | 545 | 
| 546     HTMLElement::removedFrom(insertionPoint); | 546     HTMLElement::removedFrom(insertionPoint); | 
| 547 } | 547 } | 
| 548 | 548 | 
| 549 void HTMLMediaElement::attach(const AttachContext& context) | 549 void HTMLMediaElement::createRenderTree(const AttachContext& context) | 
| 550 { | 550 { | 
| 551     ASSERT(!attached()); | 551     ASSERT(!attached()); | 
| 552 | 552 | 
| 553     HTMLElement::attach(context); | 553     HTMLElement::createRenderTree(context); | 
| 554 | 554 | 
| 555     if (renderer()) | 555     if (renderer()) | 
| 556         renderer()->updateFromElement(); | 556         renderer()->updateFromElement(); | 
| 557 } | 557 } | 
| 558 | 558 | 
| 559 void HTMLMediaElement::didRecalcStyle(StyleRecalcChange) | 559 void HTMLMediaElement::didRecalcStyle(StyleRecalcChange) | 
| 560 { | 560 { | 
| 561     if (renderer()) | 561     if (renderer()) | 
| 562         renderer()->updateFromElement(); | 562         renderer()->updateFromElement(); | 
| 563 } | 563 } | 
| (...skipping 3438 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 4002 { | 4002 { | 
| 4003     m_restrictions = NoRestrictions; | 4003     m_restrictions = NoRestrictions; | 
| 4004 } | 4004 } | 
| 4005 | 4005 | 
| 4006 void HTMLMediaElement::mediaPlayerScheduleLayerUpdate() | 4006 void HTMLMediaElement::mediaPlayerScheduleLayerUpdate() | 
| 4007 { | 4007 { | 
| 4008     scheduleLayerUpdate(); | 4008     scheduleLayerUpdate(); | 
| 4009 } | 4009 } | 
| 4010 | 4010 | 
| 4011 } | 4011 } | 
| OLD | NEW | 
|---|