OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2011 Adobe Systems Incorporated. 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 * | 7 * |
8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
10 * disclaimer. | 10 * disclaimer. |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } | 61 } |
62 | 62 |
63 void RenderFlowThread::invalidateRegions() | 63 void RenderFlowThread::invalidateRegions() |
64 { | 64 { |
65 if (m_regionsInvalidated) { | 65 if (m_regionsInvalidated) { |
66 ASSERT(selfNeedsLayout()); | 66 ASSERT(selfNeedsLayout()); |
67 return; | 67 return; |
68 } | 68 } |
69 | 69 |
70 m_regionRangeMap.clear(); | 70 m_regionRangeMap.clear(); |
71 setNeedsLayoutAndFullRepaint(); | 71 setNeedsLayoutAndFullPaintInvalidation(); |
72 | 72 |
73 m_regionsInvalidated = true; | 73 m_regionsInvalidated = true; |
74 } | 74 } |
75 | 75 |
76 class CurrentRenderFlowThreadDisabler { | 76 class CurrentRenderFlowThreadDisabler { |
77 WTF_MAKE_NONCOPYABLE(CurrentRenderFlowThreadDisabler); | 77 WTF_MAKE_NONCOPYABLE(CurrentRenderFlowThreadDisabler); |
78 public: | 78 public: |
79 CurrentRenderFlowThreadDisabler(RenderView* view) | 79 CurrentRenderFlowThreadDisabler(RenderView* view) |
80 : m_view(view) | 80 : m_view(view) |
81 , m_renderFlowThread(0) | 81 , m_renderFlowThread(0) |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 { | 531 { |
532 if (!m_renderFlowThread) | 532 if (!m_renderFlowThread) |
533 return; | 533 return; |
534 RenderView* view = m_renderFlowThread->view(); | 534 RenderView* view = m_renderFlowThread->view(); |
535 ASSERT(view->flowThreadController()->currentRenderFlowThread() == m_renderFl
owThread); | 535 ASSERT(view->flowThreadController()->currentRenderFlowThread() == m_renderFl
owThread); |
536 view->flowThreadController()->setCurrentRenderFlowThread(m_previousRenderFlo
wThread); | 536 view->flowThreadController()->setCurrentRenderFlowThread(m_previousRenderFlo
wThread); |
537 } | 537 } |
538 | 538 |
539 | 539 |
540 } // namespace WebCore | 540 } // namespace WebCore |
OLD | NEW |