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

Unified Diff: Source/core/clipboard/DataTransfer.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 | « LayoutTests/virtual/slimmingpaint/fast/table/wide-column-expected.txt ('k') | Source/core/core.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/clipboard/DataTransfer.cpp
diff --git a/Source/core/clipboard/DataTransfer.cpp b/Source/core/clipboard/DataTransfer.cpp
index 7b803753852ab558c73be01456528f868e8b5ec1..5246af905da7d553f6d106c9b4d44be2ca19f09e 100644
--- a/Source/core/clipboard/DataTransfer.cpp
+++ b/Source/core/clipboard/DataTransfer.cpp
@@ -36,8 +36,8 @@
#include "core/frame/LocalFrame.h"
#include "core/html/HTMLImageElement.h"
#include "core/layout/Layer.h"
+#include "core/layout/LayoutImage.h"
#include "core/layout/LayoutObject.h"
-#include "core/rendering/RenderImage.h"
#include "platform/DragImage.h"
#include "platform/MIMETypeRegistry.h"
#include "platform/clipboard/ClipboardMimeTypes.h"
@@ -268,7 +268,7 @@ static ImageResource* getImageResource(Element* element)
if (!renderer || !renderer->isImage())
return 0;
- RenderImage* image = toRenderImage(renderer);
+ LayoutImage* image = toLayoutImage(renderer);
if (image->cachedImage() && !image->cachedImage()->errorOccurred())
return image->cachedImage();
« no previous file with comments | « LayoutTests/virtual/slimmingpaint/fast/table/wide-column-expected.txt ('k') | Source/core/core.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698