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

Unified Diff: Source/core/rendering/RenderBlockFlow.h

Issue 390173003: When accessing line boxes, use RenderBlockFlow instead of RenderBlock. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/rendering/RenderBlock.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderBlockFlow.h
diff --git a/Source/core/rendering/RenderBlockFlow.h b/Source/core/rendering/RenderBlockFlow.h
index 536602ab438510a8126f74e8f6b1453ae704fff2..d6e60b2e8bd5ccaada4723f38ee07cee1da2cc24 100644
--- a/Source/core/rendering/RenderBlockFlow.h
+++ b/Source/core/rendering/RenderBlockFlow.h
@@ -86,6 +86,14 @@ public:
: logicalWidth() - logicalRightOffsetForLine(position, shouldIndentText, logicalHeight);
}
+ // FIXME-BLOCKFLOW: Move this into RenderBlockFlow once there are no calls
+ // in RenderBlock. http://crbug.com/393945, http://crbug.com/302024
+ using RenderBlock::lineBoxes;
+ using RenderBlock::firstLineBox;
+ using RenderBlock::lastLineBox;
+ using RenderBlock::firstRootBox;
+ using RenderBlock::lastRootBox;
+
virtual LayoutUnit logicalLeftSelectionOffset(RenderBlock* rootBlock, LayoutUnit position) OVERRIDE;
virtual LayoutUnit logicalRightSelectionOffset(RenderBlock* rootBlock, LayoutUnit position) OVERRIDE;
« no previous file with comments | « Source/core/rendering/RenderBlock.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698