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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutPart.cpp

Issue 2851453005: Mark some non-spinvalidation methods deprecated, and update paint/README.md (Closed)
Patch Set: - Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutPart.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutPart.cpp b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
index bf5ba845af300a4402229b6bfa472d71b5a981a6..5caf85440e2ac78adf0ca76f59fb5f6da0475105 100644
--- a/third_party/WebKit/Source/core/layout/LayoutPart.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutPart.cpp
@@ -402,7 +402,7 @@ void LayoutPart::UpdateGeometryInternal(FrameOrPlugin& frame_or_plugin) {
frame_or_plugin.SetFrameRect(frame_rect);
}
-void LayoutPart::InvalidatePaintOfSubtreesIfNeeded(
+void LayoutPart::DeprecatedInvalidatePaintOfSubtrees(
const PaintInvalidationState& paint_invalidation_state) {
FrameView* frame_view = ChildFrameView();
if (frame_view && !IsThrottledFrameView()) {
@@ -413,11 +413,11 @@ void LayoutPart::InvalidatePaintOfSubtreesIfNeeded(
LayoutAPIShim::LayoutObjectFrom(frame_view->GetLayoutViewItem()))) {
PaintInvalidationState child_view_paint_invalidation_state(
paint_invalidation_state, *child_layout_view);
- frame_view->InvalidateTreeIfNeeded(child_view_paint_invalidation_state);
+ frame_view->DeprecatedInvalidateTree(child_view_paint_invalidation_state);
}
}
- LayoutReplaced::InvalidatePaintOfSubtreesIfNeeded(paint_invalidation_state);
+ LayoutReplaced::DeprecatedInvalidatePaintOfSubtrees(paint_invalidation_state);
}
bool LayoutPart::IsThrottledFrameView() const {
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutPart.h ('k') | third_party/WebKit/Source/core/layout/LayoutTable.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698