| 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
|
|
|