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

Unified Diff: third_party/WebKit/public/platform/WebCallbacks.h

Issue 1865913005: Nuke WebPassOwnPtr<T> and replace it with std::unique_ptr<T>. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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/public/platform/WebCallbacks.h
diff --git a/third_party/WebKit/public/platform/WebCallbacks.h b/third_party/WebKit/public/platform/WebCallbacks.h
index 51f83ae16b3bddfd574116616b708efd6677f671..9cf230d0aa133535a8200ba202ddfbc9570fed77 100644
--- a/third_party/WebKit/public/platform/WebCallbacks.h
+++ b/third_party/WebKit/public/platform/WebCallbacks.h
@@ -31,14 +31,12 @@
#ifndef WebCallbacks_h
#define WebCallbacks_h
-#include "public/platform/WebPassOwnPtr.h"
-
namespace blink {
// A WebCallbacks<S, T> represents a callback object. Typically it is created
// in Blink and passed to Chromium, and onSuccess or onError will be called
// from Chromium.
-// When transferring ownership, use |WebPrivatePassOwnPtr<X>| as a type
+// When transferring ownership, use |std::unique_ptr<X>| as a type
// parameter. Otherwise, |const X&| or |X| for a type parameter. It is
// generally not preferred to use |X*| because the object ownership is not well
// specified.
« no previous file with comments | « third_party/WebKit/Source/wtf/wtf.gypi ('k') | third_party/WebKit/public/platform/WebCredentialManagerClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698