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

Unified Diff: Source/modules/webusb/USBError.h

Issue 1284033002: WebUSB bindings part 5 (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « Source/modules/webusb/USB.cpp ('k') | Source/modules/webusb/USBError.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/webusb/USBError.h
diff --git a/Source/modules/webusb/USBError.h b/Source/modules/webusb/USBError.h
index 9fe0043a91f1c8584ab8bfcba39fbccf1c2ce1a1..dc0bb37c35390ea5bc1ef48b1a611ddd5210b035 100644
--- a/Source/modules/webusb/USBError.h
+++ b/Source/modules/webusb/USBError.h
@@ -20,8 +20,8 @@ class USBError {
WTF_MAKE_NONCOPYABLE(USBError);
public:
// Interface required by CallbackPromiseAdapter:
- using WebType = WebUSBError;
- static DOMException* take(ScriptPromiseResolver*, PassOwnPtr<WebUSBError>);
+ using WebType = const WebUSBError&;
+ static DOMException* take(ScriptPromiseResolver*, const WebUSBError&);
private:
USBError() = delete;
« no previous file with comments | « Source/modules/webusb/USB.cpp ('k') | Source/modules/webusb/USBError.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698