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

Unified Diff: third_party/WebKit/Source/core/frame/ImageBitmap.h

Issue 2817093002: Revert of Adds SVGImageElement as a ImageBitmapSource (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/frame/ImageBitmap.h
diff --git a/third_party/WebKit/Source/core/frame/ImageBitmap.h b/third_party/WebKit/Source/core/frame/ImageBitmap.h
index 3684c0c39f7222aa5cee17f4c7fa71bb0d73b565..db5754546446ad5212ea6b49abbb5ea4eab1329a 100644
--- a/third_party/WebKit/Source/core/frame/ImageBitmap.h
+++ b/third_party/WebKit/Source/core/frame/ImageBitmap.h
@@ -8,8 +8,8 @@
#include <memory>
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
+#include "core/html/HTMLImageElement.h"
#include "core/html/canvas/CanvasImageSource.h"
-#include "core/html/canvas/ImageElementBase.h"
#include "core/imagebitmap/ImageBitmapOptions.h"
#include "core/imagebitmap/ImageBitmapSource.h"
#include "platform/geometry/IntRect.h"
@@ -21,7 +21,6 @@
#include "third_party/skia/include/core/SkRefCnt.h"
namespace blink {
-class Document;
class HTMLCanvasElement;
class HTMLVideoElement;
class ImageData;
@@ -49,7 +48,7 @@
DEFINE_WRAPPERTYPEINFO();
public:
- static ImageBitmap* Create(ImageElementBase*,
+ static ImageBitmap* Create(HTMLImageElement*,
Optional<IntRect>,
Document*,
const ImageBitmapOptions& = ImageBitmapOptions());
@@ -139,7 +138,7 @@
DECLARE_VIRTUAL_TRACE();
private:
- ImageBitmap(ImageElementBase*,
+ ImageBitmap(HTMLImageElement*,
Optional<IntRect>,
Document*,
const ImageBitmapOptions&);
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/BUILD.gn ('k') | third_party/WebKit/Source/core/frame/ImageBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698