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

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

Issue 1853743005: Oilpan: Remove WillBe types (part 13) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 42211f675fb250f33ed1a2c37c134e3d8fd4c190..f1363a1dab40481862f6c971bd07b950a2c70ad7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.cpp
@@ -92,17 +92,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