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

Unified Diff: sky/engine/core/html/ImageData.h

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.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 | « sky/engine/core/html/HTMLTitleElement.cpp ('k') | sky/engine/core/html/ImageData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/ImageData.h
diff --git a/sky/engine/core/html/ImageData.h b/sky/engine/core/html/ImageData.h
index 4e9925ea02dc2407a05341b9ce09039ffffac8f2..fc8dee92d4207320b20862083ed10dae7e9e440d 100644
--- a/sky/engine/core/html/ImageData.h
+++ b/sky/engine/core/html/ImageData.h
@@ -29,7 +29,7 @@
#ifndef SKY_ENGINE_CORE_HTML_IMAGEDATA_H_
#define SKY_ENGINE_CORE_HTML_IMAGEDATA_H_
-#include "sky/engine/bindings/core/v8/ScriptWrappable.h"
+#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/platform/geometry/IntSize.h"
#include "sky/engine/platform/heap/Handle.h"
#include "sky/engine/wtf/RefCounted.h"
@@ -40,7 +40,7 @@ namespace blink {
class ExceptionState;
-class ImageData final : public RefCounted<ImageData>, public ScriptWrappable {
+class ImageData final : public RefCounted<ImageData>, public DartWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static PassRefPtr<ImageData> create(const IntSize&);
@@ -53,8 +53,6 @@ public:
int height() const { return m_size.height(); }
Uint8ClampedArray* data() const { return m_data.get(); }
- virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override;
-
private:
explicit ImageData(const IntSize&);
ImageData(const IntSize&, PassRefPtr<Uint8ClampedArray>);
« no previous file with comments | « sky/engine/core/html/HTMLTitleElement.cpp ('k') | sky/engine/core/html/ImageData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698