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

Unified Diff: sky/engine/core/html/canvas/DataView.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/canvas/CanvasRenderingContext2D.idl ('k') | sky/engine/core/html/canvas/DataView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/canvas/DataView.h
diff --git a/sky/engine/core/html/canvas/DataView.h b/sky/engine/core/html/canvas/DataView.h
index 04d01492c13d9db73d9ac2c2cef45ac6fa69b979..e173ad4d4e9ee8f868a72053f6740bff0937184b 100644
--- a/sky/engine/core/html/canvas/DataView.h
+++ b/sky/engine/core/html/canvas/DataView.h
@@ -26,7 +26,7 @@
#ifndef SKY_ENGINE_CORE_HTML_CANVAS_DATAVIEW_H_
#define SKY_ENGINE_CORE_HTML_CANVAS_DATAVIEW_H_
-#include "sky/engine/bindings/core/v8/ScriptWrappable.h"
+#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/wtf/ArrayBufferView.h"
#include "sky/engine/wtf/PassRefPtr.h"
@@ -34,8 +34,7 @@ namespace blink {
class ExceptionState;
-class DataView final : public ArrayBufferView, public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
+class DataView final : public ArrayBufferView {
public:
static PassRefPtr<DataView> create(unsigned length);
static PassRefPtr<DataView> create(PassRefPtr<ArrayBuffer>, unsigned byteOffset, unsigned byteLength);
@@ -77,8 +76,6 @@ public:
return TypeDataView;
}
- virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) override;
-
protected:
virtual void neuter() override;
« no previous file with comments | « sky/engine/core/html/canvas/CanvasRenderingContext2D.idl ('k') | sky/engine/core/html/canvas/DataView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698