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

Unified Diff: third_party/WebKit/Source/core/paint/TableCellPainter.cpp

Issue 2942123002: Break LayoutObject dependency for NinePieceImagePainter (Closed)
Patch Set: Pass document explicitly Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/paint/TableCellPainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
index 8895497d1af5330fc9a39ba8e554aea250ab3bc7..3a3a6ab07823c6e0ae216c3557ac35523fada2a5 100644
--- a/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
+++ b/third_party/WebKit/Source/core/paint/TableCellPainter.cpp
@@ -263,7 +263,9 @@ void TableCellPainter::PaintBoxDecorationBackground(
if (!needs_to_paint_border)
return;
- BoxPainter::PaintBorder(layout_table_cell_, paint_info, paint_rect, style);
+ BoxPainter::PaintBorder(layout_table_cell_, layout_table_cell_.GetDocument(),
+ layout_table_cell_.GeneratingNode(), paint_info,
+ paint_rect, style);
}
void TableCellPainter::PaintMask(const PaintInfo& paint_info,
« no previous file with comments | « third_party/WebKit/Source/core/paint/NinePieceImagePainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698