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

Unified Diff: third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.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/platform/audio/HRTFDatabaseLoader.cpp
diff --git a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
index b333f8ad5ed7a5d5b9f82fff398b62e58bf64663..a66c5f21ff181cc3eb7c4a8e8ca86346f42aebe4 100644
--- a/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
+++ b/third_party/WebKit/Source/platform/audio/HRTFDatabaseLoader.cpp
@@ -99,8 +99,9 @@ void HRTFDatabaseLoader::loadAsynchronously() {
Platform::current()->createThread("HRTF database loader"));
// TODO(alexclarke): Should this be posted as a loading task?
m_thread->getWebTaskRunner()->postTask(
- BLINK_FROM_HERE, crossThreadBind(&HRTFDatabaseLoader::loadTask,
- crossThreadUnretained(this)));
+ BLINK_FROM_HERE,
+ crossThreadBind(&HRTFDatabaseLoader::loadTask,
+ crossThreadUnretained(this)));
}
HRTFDatabase* HRTFDatabaseLoader::database() {
@@ -129,9 +130,10 @@ void HRTFDatabaseLoader::waitForLoaderThreadCompletion() {
WaitableEvent sync;
// TODO(alexclarke): Should this be posted as a loading task?
m_thread->getWebTaskRunner()->postTask(
- BLINK_FROM_HERE, crossThreadBind(&HRTFDatabaseLoader::cleanupTask,
- crossThreadUnretained(this),
- crossThreadUnretained(&sync)));
+ BLINK_FROM_HERE,
+ crossThreadBind(&HRTFDatabaseLoader::cleanupTask,
+ crossThreadUnretained(this),
+ crossThreadUnretained(&sync)));
sync.wait();
m_thread.reset();
}
« no previous file with comments | « third_party/WebKit/Source/platform/audio/EqualPowerPanner.cpp ('k') | third_party/WebKit/Source/platform/audio/Reverb.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698