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

Unified Diff: sky/engine/core/dom/MutationObserver.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/dom/Microtask.cpp ('k') | sky/engine/core/dom/MutationObserver.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/dom/MutationObserver.h
diff --git a/sky/engine/core/dom/MutationObserver.h b/sky/engine/core/dom/MutationObserver.h
index 5b8dcd9d355cb1d98286e1a89e761e98046d1f3f..bd82dee9103497e296c0a786363d49d36e581245 100644
--- a/sky/engine/core/dom/MutationObserver.h
+++ b/sky/engine/core/dom/MutationObserver.h
@@ -31,7 +31,7 @@
#ifndef SKY_ENGINE_CORE_DOM_MUTATIONOBSERVER_H_
#define SKY_ENGINE_CORE_DOM_MUTATIONOBSERVER_H_
-#include "sky/engine/bindings/core/v8/ScriptWrappable.h"
+#include "sky/engine/tonic/dart_wrappable.h"
#include "sky/engine/platform/heap/Handle.h"
#include "sky/engine/wtf/HashSet.h"
#include "sky/engine/wtf/PassOwnPtr.h"
@@ -42,7 +42,6 @@
namespace blink {
-class Dictionary;
class ExceptionState;
class MutationCallback;
class MutationObserver;
@@ -58,7 +57,7 @@ typedef HashSet<RawPtr<MutationObserverRegistration> > MutationObserverRegistrat
typedef Vector<RefPtr<MutationObserver> > MutationObserverVector;
typedef Vector<RefPtr<MutationRecord> > MutationRecordVector;
-class MutationObserver final : public RefCounted<MutationObserver>, public ScriptWrappable {
+class MutationObserver final : public RefCounted<MutationObserver>, public DartWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
enum MutationType {
@@ -85,7 +84,7 @@ public:
~MutationObserver();
- void observe(Node*, const Dictionary&, ExceptionState&);
+ void observe(Node*, ExceptionState&);
Vector<RefPtr<MutationRecord> > takeRecords();
void disconnect();
void observationStarted(MutationObserverRegistration*);
« no previous file with comments | « sky/engine/core/dom/Microtask.cpp ('k') | sky/engine/core/dom/MutationObserver.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698