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

Unified Diff: Source/bindings/v8/V8NodeFilterCondition.h

Issue 285213003: Oilpan: move Node traversal objects to the heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Drop nullptr type conversions Created 6 years, 7 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 | « Source/bindings/v8/V8Binding.cpp ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/v8/V8NodeFilterCondition.h
diff --git a/Source/bindings/v8/V8NodeFilterCondition.h b/Source/bindings/v8/V8NodeFilterCondition.h
index 714b122b4805429fb399e0bc9d6554b2d68e29b6..374d1b85af56c35882bdfb9cf2205407b697e65b 100644
--- a/Source/bindings/v8/V8NodeFilterCondition.h
+++ b/Source/bindings/v8/V8NodeFilterCondition.h
@@ -34,6 +34,7 @@
#include "bindings/v8/ScopedPersistent.h"
#include "bindings/v8/ScriptState.h"
#include "core/dom/NodeFilterCondition.h"
+#include "platform/heap/Handle.h"
#include <v8.h>
#include "wtf/PassRefPtr.h"
@@ -61,9 +62,9 @@ class ExceptionState;
// (V8)
class V8NodeFilterCondition FINAL : public NodeFilterCondition {
public:
- static PassRefPtr<V8NodeFilterCondition> create(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, v8::Isolate* isolate)
+ static PassRefPtrWillBeRawPtr<V8NodeFilterCondition> create(v8::Handle<v8::Value> filter, v8::Handle<v8::Object> owner, v8::Isolate* isolate)
{
- return adoptRef(new V8NodeFilterCondition(filter, owner, isolate));
+ return adoptRefWillBeNoop(new V8NodeFilterCondition(filter, owner, isolate));
}
virtual ~V8NodeFilterCondition();
« no previous file with comments | « Source/bindings/v8/V8Binding.cpp ('k') | Source/core/dom/Document.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698