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

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

Issue 899163003: Move rendering/RenderObject to layout/LayoutObject. (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/rendering/RenderVTTCue.cpp ('k') | Source/core/rendering/RenderVideo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderVideo.h
diff --git a/Source/core/rendering/RenderVideo.h b/Source/core/rendering/RenderVideo.h
index 927c49eb5536368a860a32752e9e43fa94148261..65f2e9eb740a079f379cd208180e8576a83fa366 100644
--- a/Source/core/rendering/RenderVideo.h
+++ b/Source/core/rendering/RenderVideo.h
@@ -58,7 +58,7 @@ private:
virtual const char* renderName() const override { return "RenderVideo"; }
- virtual bool isOfType(RenderObjectType type) const override { return type == RenderObjectVideo || RenderMedia::isOfType(type); }
+ virtual bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectVideo || RenderMedia::isOfType(type); }
virtual void paintReplaced(const PaintInfo&, const LayoutPoint&) override;
@@ -81,7 +81,7 @@ private:
LayoutSize m_cachedImageSize;
};
-DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderVideo, isVideo());
+DEFINE_LAYOUT_OBJECT_TYPE_CASTS(RenderVideo, isVideo());
} // namespace blink
« no previous file with comments | « Source/core/rendering/RenderVTTCue.cpp ('k') | Source/core/rendering/RenderVideo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698