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

Unified Diff: Source/core/css/resolver/StyleAdjuster.cpp

Issue 930833003: Move and rename RenderReplaced and RenderHTMLCanvas to Layout{Replaced,HTMLCanvas}. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No need to declare renderName() at all. 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/core.gypi ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/resolver/StyleAdjuster.cpp
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
index 9d73512457b776894aa77a89df08d83a4020b18d..78ef37b3302f153bbc21040a861e7076572057a7 100644
--- a/Source/core/css/resolver/StyleAdjuster.cpp
+++ b/Source/core/css/resolver/StyleAdjuster.cpp
@@ -41,11 +41,11 @@
#include "core/html/HTMLPlugInElement.h"
#include "core/html/HTMLTableCellElement.h"
#include "core/html/HTMLTextAreaElement.h"
+#include "core/layout/LayoutReplaced.h"
#include "core/layout/LayoutTheme.h"
#include "core/layout/style/GridPosition.h"
#include "core/layout/style/LayoutStyle.h"
#include "core/layout/style/LayoutStyleConstants.h"
-#include "core/rendering/RenderReplaced.h"
#include "core/svg/SVGSVGElement.h"
#include "platform/Length.h"
#include "platform/transforms/TransformOperations.h"
@@ -415,9 +415,9 @@ void StyleAdjuster::adjustStyleForHTMLElement(LayoutStyle& style, const LayoutSt
// Replaced renderers get this for free, and fallback content doesn't count.
if (toHTMLPlugInElement(element).usePlaceholderContent()) {
if (style.width().isAuto())
- style.setWidth(Length(RenderReplaced::defaultWidth, Fixed));
+ style.setWidth(Length(LayoutReplaced::defaultWidth, Fixed));
if (style.height().isAuto())
- style.setHeight(Length(RenderReplaced::defaultHeight, Fixed));
+ style.setHeight(Length(LayoutReplaced::defaultHeight, Fixed));
}
return;
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698