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

Unified Diff: Source/core/layout/LayoutMeter.cpp

Issue 926193003: Move rendering/RenderBox to layout/LayoutBox. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/layout/LayoutMedia.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutMeter.cpp
diff --git a/Source/core/layout/LayoutMeter.cpp b/Source/core/layout/LayoutMeter.cpp
index 1992a662ee46b50a27cc3e0ec3a1a0d37c7b885f..cbf77d57ae7836e9f0ed69b86513bd7ffba7e6bd 100644
--- a/Source/core/layout/LayoutMeter.cpp
+++ b/Source/core/layout/LayoutMeter.cpp
@@ -51,7 +51,7 @@ HTMLMeterElement* LayoutMeter::meterElement() const
void LayoutMeter::updateLogicalWidth()
{
- RenderBox::updateLogicalWidth();
+ LayoutBox::updateLogicalWidth();
IntSize frameSize = LayoutTheme::theme().meterSizeForBounds(this, pixelSnappedIntRect(frameRect()));
setLogicalWidth(isHorizontalWritingMode() ? frameSize.width() : frameSize.height());
@@ -59,7 +59,7 @@ void LayoutMeter::updateLogicalWidth()
void LayoutMeter::computeLogicalHeight(LayoutUnit logicalHeight, LayoutUnit logicalTop, LogicalExtentComputedValues& computedValues) const
{
- RenderBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues);
+ LayoutBox::computeLogicalHeight(logicalHeight, logicalTop, computedValues);
LayoutRect frame = frameRect();
if (isHorizontalWritingMode())
« no previous file with comments | « Source/core/layout/LayoutMedia.cpp ('k') | Source/core/layout/LayoutMultiColumnFlowThread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698