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

Unified Diff: third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp

Issue 2846843002: [blink] Unique pointers in Platform.h (Closed)
Patch Set: fix compilation (and again) Created 3 years, 8 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/platform/WebThreadSupportingGC.cpp
diff --git a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
index b605e84810e475b4304ad1b935f8e1a3a666f920..10edb7a7e45cd59a33f473582aba4bb33a5f13d2 100644
--- a/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
+++ b/third_party/WebKit/Source/platform/WebThreadSupportingGC.cpp
@@ -33,7 +33,7 @@ WebThreadSupportingGC::WebThreadSupportingGC(const char* name,
#endif
if (!thread_) {
// If |thread| is not given, create a new one and own it.
- owning_thread_ = WTF::WrapUnique(Platform::Current()->CreateThread(name));
+ owning_thread_ = Platform::Current()->CreateThread(name);
thread_ = owning_thread_.get();
}
}

Powered by Google App Engine
This is Rietveld 408576698