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

Unified Diff: third_party/WebKit/Source/modules/webusb/USB.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/Source/modules/webusb/USB.h
diff --git a/third_party/WebKit/Source/modules/webusb/USB.h b/third_party/WebKit/Source/modules/webusb/USB.h
index 8d406a6ec624d1db12fe6ddfcd069eaa26958e4a..026fe8008d5b3f3f9cf19af372a24c2aa166f64c 100644
--- a/third_party/WebKit/Source/modules/webusb/USB.h
+++ b/third_party/WebKit/Source/modules/webusb/USB.h
@@ -48,8 +48,8 @@ public:
void contextDestroyed() override;
// WebUSBClient::Observer overrides.
- void onDeviceConnected(WebPassOwnPtr<WebUSBDevice>) override;
- void onDeviceDisconnected(WebPassOwnPtr<WebUSBDevice>) override;
+ void onDeviceConnected(std::unique_ptr<WebUSBDevice>) override;
+ void onDeviceDisconnected(std::unique_ptr<WebUSBDevice>) override;
DECLARE_VIRTUAL_TRACE();
EAGERLY_FINALIZE();

Powered by Google App Engine
This is Rietveld 408576698