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

Unified Diff: third_party/WebKit/Source/modules/webusb/USB.cpp

Issue 2701993002: DO NOT COMMIT: Results of running new (proposed) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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.cpp
diff --git a/third_party/WebKit/Source/modules/webusb/USB.cpp b/third_party/WebKit/Source/modules/webusb/USB.cpp
index df7ea7f9d2916421a3a686516cba40bd19adb1a6..22e051c87f5c64465bfcf489e0e0ceb0a4986ff8 100644
--- a/third_party/WebKit/Source/modules/webusb/USB.cpp
+++ b/third_party/WebKit/Source/modules/webusb/USB.cpp
@@ -85,10 +85,10 @@ ScriptPromise USB::getDevices(ScriptState* scriptState) {
resolver->reject(DOMException::create(SecurityError, errorMessage));
} else {
m_deviceManagerRequests.insert(resolver);
- m_deviceManager->GetDevices(
- nullptr, convertToBaseCallback(WTF::bind(&USB::onGetDevices,
- wrapPersistent(this),
- wrapPersistent(resolver))));
+ m_deviceManager->GetDevices(nullptr,
+ convertToBaseCallback(WTF::bind(
+ &USB::onGetDevices, wrapPersistent(this),
+ wrapPersistent(resolver))));
}
}
return promise;
@@ -132,9 +132,10 @@ ScriptPromise USB::requestDevice(ScriptState* scriptState,
}
m_chooserServiceRequests.insert(resolver);
m_chooserService->GetPermission(
- std::move(filters), convertToBaseCallback(WTF::bind(
- &USB::onGetPermission, wrapPersistent(this),
- wrapPersistent(resolver))));
+ std::move(filters),
+ convertToBaseCallback(WTF::bind(&USB::onGetPermission,
+ wrapPersistent(this),
+ wrapPersistent(resolver))));
}
return promise;
}

Powered by Google App Engine
This is Rietveld 408576698