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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.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/bindings/core/v8/ScriptStreamer.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
index 92330973f8b9eda6c4275654c6848c4d351c33e1..4f6932349f7dbf44238de7e3e84ad92282a47c2b 100644
--- a/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/ScriptStreamer.cpp
@@ -253,10 +253,9 @@ class SourceStream : public v8::ScriptCompiler::ExternalSourceStream {
CachedMetadataHandler* cacheHandler = streamer->resource()->cacheHandler();
RefPtr<CachedMetadata> codeCache(
- cacheHandler
- ? cacheHandler->cachedMetadata(
- V8ScriptRunner::tagForCodeCache(cacheHandler))
- : nullptr);
+ cacheHandler ? cacheHandler->cachedMetadata(
+ V8ScriptRunner::tagForCodeCache(cacheHandler))
+ : nullptr);
if (codeCache.get()) {
// The resource has a code cache, so it's unnecessary to stream and
// parse the code. Cancel the streaming and resume the non-streaming
@@ -373,8 +372,9 @@ void ScriptStreamer::streamingCompleteOnBackgroundThread() {
// notifyFinished might already be called, or it might be called in the
// future (if the parsing finishes earlier because of a parse error).
m_loadingTaskRunner->postTask(
- BLINK_FROM_HERE, crossThreadBind(&ScriptStreamer::streamingComplete,
- wrapCrossThreadPersistent(this)));
+ BLINK_FROM_HERE,
+ crossThreadBind(&ScriptStreamer::streamingComplete,
+ wrapCrossThreadPersistent(this)));
// The task might delete ScriptStreamer, so it's not safe to do anything
// after posting it. Note that there's no way to guarantee that this
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/ScriptPromise.cpp ('k') | third_party/WebKit/Source/bindings/core/v8/ScriptValue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698