| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2012 Google Inc. | 3 * Copyright (C) 2012 Google Inc. |
| 4 * All rights reserved. | 4 * All rights reserved. |
| 5 * | 5 * |
| 6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
| 7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
| 8 * are met: | 8 * are met: |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 void RenderTextTrackContainerElement::layout() | 42 void RenderTextTrackContainerElement::layout() |
| 43 { | 43 { |
| 44 RenderBlockFlow::layout(); | 44 RenderBlockFlow::layout(); |
| 45 if (style()->display() == NONE) | 45 if (style()->display() == NONE) |
| 46 return; | 46 return; |
| 47 | 47 |
| 48 ASSERT(mediaControlElementType(node()) == MediaTextTrackDisplayContainer); | 48 ASSERT(mediaControlElementType(node()) == MediaTextTrackDisplayContainer); |
| 49 | 49 |
| 50 DeprecatedScheduleStyleRecalcDuringLayout marker(node()->document().lifecycl
e()); | 50 DeprecatedScheduleStyleRecalcDuringLayout marker(node()->document().lifecycl
e()); |
| 51 | 51 |
| 52 ForceHorriblySlowRectMapping slowRectMapping(*this); |
| 52 static_cast<MediaControlTextTrackContainerElement*>(node())->updateSizes(); | 53 static_cast<MediaControlTextTrackContainerElement*>(node())->updateSizes(); |
| 53 } | 54 } |
| 54 | 55 |
| 55 } // namespace WebCore | 56 } // namespace WebCore |
| OLD | NEW |