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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp

Issue 2852573002: Rename InvalidatePaintIfNeeded to drop deprecated IfNeeded suffix. (Closed)
Patch Set: Created 3 years, 7 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 Google 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 4631 matching lines...) Expand 10 before | Expand all | Expand 10 after
4642 4642
4643 if (inline_element_continuation) 4643 if (inline_element_continuation)
4644 inline_element_continuation->AddOutlineRects( 4644 inline_element_continuation->AddOutlineRects(
4645 rects, 4645 rects,
4646 additional_offset + 4646 additional_offset +
4647 (inline_element_continuation->ContainingBlock()->Location() - 4647 (inline_element_continuation->ContainingBlock()->Location() -
4648 Location()), 4648 Location()),
4649 include_block_overflows); 4649 include_block_overflows);
4650 } 4650 }
4651 4651
4652 PaintInvalidationReason LayoutBlockFlow::InvalidatePaintIfNeeded( 4652 PaintInvalidationReason LayoutBlockFlow::InvalidatePaint(
4653 const PaintInvalidationState& paint_invalidation_state) { 4653 const PaintInvalidationState& paint_invalidation_state) {
4654 if (ContainsFloats()) 4654 if (ContainsFloats())
4655 paint_invalidation_state.PaintingLayer().SetNeedsPaintPhaseFloat(); 4655 paint_invalidation_state.PaintingLayer().SetNeedsPaintPhaseFloat();
4656 4656
4657 return LayoutBlock::InvalidatePaintIfNeeded(paint_invalidation_state); 4657 return LayoutBlock::InvalidatePaint(paint_invalidation_state);
4658 } 4658 }
4659 4659
4660 void LayoutBlockFlow::InvalidateDisplayItemClients( 4660 void LayoutBlockFlow::InvalidateDisplayItemClients(
4661 PaintInvalidationReason invalidation_reason) const { 4661 PaintInvalidationReason invalidation_reason) const {
4662 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( 4662 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients(
4663 invalidation_reason); 4663 invalidation_reason);
4664 } 4664 }
4665 4665
4666 } // namespace blink 4666 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBlockFlow.h ('k') | third_party/WebKit/Source/core/layout/LayoutBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698