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

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

Issue 2851453005: Mark some non-spinvalidation methods deprecated, and update paint/README.md (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 4629 matching lines...) Expand 10 before | Expand all | Expand 10 after
4640 4640
4641 if (inline_element_continuation) 4641 if (inline_element_continuation)
4642 inline_element_continuation->AddOutlineRects( 4642 inline_element_continuation->AddOutlineRects(
4643 rects, 4643 rects,
4644 additional_offset + 4644 additional_offset +
4645 (inline_element_continuation->ContainingBlock()->Location() - 4645 (inline_element_continuation->ContainingBlock()->Location() -
4646 Location()), 4646 Location()),
4647 include_block_overflows); 4647 include_block_overflows);
4648 } 4648 }
4649 4649
4650 PaintInvalidationReason LayoutBlockFlow::InvalidatePaint( 4650 PaintInvalidationReason LayoutBlockFlow::DeprecatedInvalidatePaint(
4651 const PaintInvalidationState& paint_invalidation_state) { 4651 const PaintInvalidationState& paint_invalidation_state) {
4652 if (ContainsFloats()) 4652 if (ContainsFloats())
4653 paint_invalidation_state.PaintingLayer().SetNeedsPaintPhaseFloat(); 4653 paint_invalidation_state.PaintingLayer().SetNeedsPaintPhaseFloat();
4654 4654
4655 return LayoutBlock::InvalidatePaint(paint_invalidation_state); 4655 return LayoutBlock::DeprecatedInvalidatePaint(paint_invalidation_state);
4656 } 4656 }
4657 4657
4658 void LayoutBlockFlow::InvalidateDisplayItemClients( 4658 void LayoutBlockFlow::InvalidateDisplayItemClients(
4659 PaintInvalidationReason invalidation_reason) const { 4659 PaintInvalidationReason invalidation_reason) const {
4660 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients( 4660 BlockFlowPaintInvalidator(*this).InvalidateDisplayItemClients(
4661 invalidation_reason); 4661 invalidation_reason);
4662 } 4662 }
4663 4663
4664 } // namespace blink 4664 } // 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