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

Unified Diff: Source/core/html/HTMLPlugInElement.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/html/HTMLImageFallbackHelper.cpp ('k') | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLPlugInElement.cpp
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
index d90219ac8bd2d5bd6629838e43ccf19f047aa115..3cb727aa3dd28152afe494d094948b716f055b31 100644
--- a/Source/core/html/HTMLPlugInElement.cpp
+++ b/Source/core/html/HTMLPlugInElement.cpp
@@ -38,6 +38,7 @@
#include "core/html/HTMLContentElement.h"
#include "core/html/HTMLImageLoader.h"
#include "core/html/PluginDocument.h"
+#include "core/layout/LayoutImage.h"
#include "core/loader/FrameLoaderClient.h"
#include "core/loader/MixedContentChecker.h"
#include "core/page/EventHandler.h"
@@ -47,7 +48,6 @@
#include "core/plugins/PluginView.h"
#include "core/rendering/RenderBlockFlow.h"
#include "core/rendering/RenderEmbeddedObject.h"
-#include "core/rendering/RenderImage.h"
#include "core/rendering/RenderPart.h"
#include "platform/Logging.h"
#include "platform/MIMETypeFromURL.h"
@@ -272,8 +272,8 @@ LayoutObject* HTMLPlugInElement::createRenderer(const LayoutStyle& style)
return LayoutObject::createObject(this, style);
if (isImageType()) {
- RenderImage* image = new RenderImage(this);
- image->setImageResource(RenderImageResource::create());
+ LayoutImage* image = new LayoutImage(this);
+ image->setImageResource(LayoutImageResource::create());
return image;
}
« no previous file with comments | « Source/core/html/HTMLImageFallbackHelper.cpp ('k') | Source/core/html/HTMLVideoElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698