Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(202)

Side by Side Diff: Source/core/rendering/RenderFlowThread.cpp

Issue 332543002: Rename Repaint to Paint Invalidation Part 4 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.cpp ('k') | Source/core/rendering/RenderFrameSet.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderFlexibleBox.cpp ('k') | Source/core/rendering/RenderFrameSet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698