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

Unified Diff: Source/core/page/DragController.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/loader/ImageLoader.cpp ('k') | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/DragController.cpp
diff --git a/Source/core/page/DragController.cpp b/Source/core/page/DragController.cpp
index de8a93947a478e9c8bbe63443ad83650ea13470f..bb2cd14a51563b8d4aa8a1dc1cc448fdae17df61 100644
--- a/Source/core/page/DragController.cpp
+++ b/Source/core/page/DragController.cpp
@@ -66,7 +66,7 @@
#include "core/frame/Settings.h"
#include "core/layout/HitTestRequest.h"
#include "core/layout/HitTestResult.h"
-#include "core/rendering/RenderImage.h"
+#include "core/layout/LayoutImage.h"
#include "core/rendering/RenderView.h"
#include "platform/DragImage.h"
#include "platform/geometry/IntRect.h"
@@ -700,7 +700,7 @@ static ImageResource* getImageResource(Element* element)
LayoutObject* renderer = element->renderer();
if (!renderer || !renderer->isImage())
return nullptr;
- RenderImage* image = toRenderImage(renderer);
+ LayoutImage* image = toLayoutImage(renderer);
return image->cachedImage();
}
« no previous file with comments | « Source/core/loader/ImageLoader.cpp ('k') | Source/core/page/PageSerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698