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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
index b774495b9d4376c831253753cf152bebb2fc3c91..2e0f668429645b4288c27985bb417a7d5f5de8ff 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8MutationCallback.h
@@ -39,16 +39,15 @@ namespace blink {
class ExecutionContext;
class V8MutationCallback final : public MutationCallback, public ActiveDOMCallback {
- WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(V8MutationCallback);
- USING_FAST_MALLOC_WILL_BE_REMOVED(V8MutationCallback);
+ USING_GARBAGE_COLLECTED_MIXIN(V8MutationCallback);
public:
- static PassOwnPtrWillBeRawPtr<V8MutationCallback> create(v8::Local<v8::Function> callback, v8::Local<v8::Object> owner, ScriptState* scriptState)
+ static RawPtr<V8MutationCallback> create(v8::Local<v8::Function> callback, v8::Local<v8::Object> owner, ScriptState* scriptState)
{
- return adoptPtrWillBeNoop(new V8MutationCallback(callback, owner, scriptState));
+ return (new V8MutationCallback(callback, owner, scriptState));
}
~V8MutationCallback() override;
- void call(const WillBeHeapVector<RefPtrWillBeMember<MutationRecord>>&, MutationObserver*) override;
+ void call(const HeapVector<Member<MutationRecord>>&, MutationObserver*) override;
ExecutionContext* executionContext() const override { return ContextLifecycleObserver::executionContext(); }
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698