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

Unified Diff: third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp

Issue 2956583002: Removed usage of RefPtr::Release in unit tests (Closed)
Patch Set: Created 3 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: third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp
diff --git a/third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp b/third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp
index 725a69e692bb953b8cea43891b024d3fb61b617c..507979795fc9e6af34daa7d838adb14fef054334 100644
--- a/third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp
+++ b/third_party/WebKit/Source/core/workers/ThreadedWorkletTest.cpp
@@ -70,7 +70,7 @@ class ThreadedWorkletThreadForTest : public WorkerThread {
SecurityOrigin::Create(startup_data->script_url_);
return new ThreadedWorkletGlobalScope(
startup_data->script_url_, startup_data->user_agent_,
- security_origin.Release(), this->GetIsolate(), this,
+ std::move(security_origin), this->GetIsolate(), this,
startup_data->worker_clients_);
}

Powered by Google App Engine
This is Rietveld 408576698