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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp

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/V8Binding.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
index a8759f4059609336b738146eba841c781f9c0ced..a2f9bddfcc20d2d7f82bbfe55cbd080604635a32 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
@@ -94,17 +94,17 @@ void setMinimumArityTypeError(ExceptionState& exceptionState, unsigned expected,
exceptionState.throwTypeError(ExceptionMessages::notEnoughArguments(expected, provided));
}
-PassRefPtrWillBeRawPtr<NodeFilter> toNodeFilter(v8::Local<v8::Value> callback, v8::Local<v8::Object> creationContext, ScriptState* scriptState)
+RawPtr<NodeFilter> toNodeFilter(v8::Local<v8::Value> callback, v8::Local<v8::Object> creationContext, ScriptState* scriptState)
{
if (callback->IsNull())
return nullptr;
- RefPtrWillBeRawPtr<NodeFilter> filter = NodeFilter::create();
+ RawPtr<NodeFilter> filter = NodeFilter::create();
v8::Local<v8::Value> filterWrapper = toV8(filter.get(), creationContext, scriptState->isolate());
if (filterWrapper.IsEmpty())
return nullptr;
- RefPtrWillBeRawPtr<NodeFilterCondition> condition = V8NodeFilterCondition::create(callback, filterWrapper.As<v8::Object>(), scriptState);
+ RawPtr<NodeFilterCondition> condition = V8NodeFilterCondition::create(callback, filterWrapper.As<v8::Object>(), scriptState);
filter->setCondition(condition.release());
return filter.release();

Powered by Google App Engine
This is Rietveld 408576698