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

Unified Diff: Source/core/rendering/RenderMedia.cpp

Issue 923953002: Move rendering/RenderImage* to layout/LayoutImage* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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/rendering/RenderMedia.h ('k') | Source/core/rendering/RenderReplaced.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderMedia.cpp
diff --git a/Source/core/rendering/RenderMedia.cpp b/Source/core/rendering/RenderMedia.cpp
index a34af257b9858b77e3ec359b858687e6f7c42911..f8549c494eda6871cc0c7f2a748350cd469f34a3 100644
--- a/Source/core/rendering/RenderMedia.cpp
+++ b/Source/core/rendering/RenderMedia.cpp
@@ -33,9 +33,9 @@
namespace blink {
RenderMedia::RenderMedia(HTMLMediaElement* video)
- : RenderImage(video)
+ : LayoutImage(video)
{
- setImageResource(RenderImageResource::create());
+ setImageResource(LayoutImageResource::create());
}
RenderMedia::~RenderMedia()
@@ -51,7 +51,7 @@ void RenderMedia::layout()
{
LayoutSize oldSize = contentBoxRect().size();
- RenderImage::layout();
+ LayoutImage::layout();
RenderBox* controlsRenderer = toRenderBox(m_children.firstChild());
if (!controlsRenderer)
« no previous file with comments | « Source/core/rendering/RenderMedia.h ('k') | Source/core/rendering/RenderReplaced.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698