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

Unified Diff: Source/core/dom/DOMArrayBuffer.h

Issue 1183763003: Remove ArrayBufferDeallocationObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: move callback to WTF.cpp Created 5 years, 6 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: Source/core/dom/DOMArrayBuffer.h
diff --git a/Source/core/dom/DOMArrayBuffer.h b/Source/core/dom/DOMArrayBuffer.h
index d63e23d4d67a84e17b737aa1f3ec078553054a76..f5c605af68956cb4241f545ad462f50f365f3a08 100644
--- a/Source/core/dom/DOMArrayBuffer.h
+++ b/Source/core/dom/DOMArrayBuffer.h
@@ -7,7 +7,6 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "core/CoreExport.h"
-#include "core/dom/DOMArrayBufferDeallocationObserver.h"
#include "wtf/ArrayBuffer.h"
#include "wtf/RefCounted.h"
@@ -56,10 +55,6 @@ public:
}
bool transfer(WTF::ArrayBufferContents& result) { return buffer()->transfer(result); }
bool isNeutered() { return buffer()->isNeutered(); }
- void setDeallocationObserver(DOMArrayBufferDeallocationObserver& observer)
- {
- buffer()->setDeallocationObserver(observer);
- }
virtual v8::Local<v8::Object> wrap(v8::Isolate*, v8::Local<v8::Object> creationContext) override;
virtual v8::Local<v8::Object> associateWithWrapper(v8::Isolate*, const WrapperTypeInfo*, v8::Local<v8::Object> wrapper) override;
« no previous file with comments | « Source/core/core.gypi ('k') | Source/core/dom/DOMArrayBuffer.cpp » ('j') | Source/web/WebKit.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698