| Index: third_party/WebKit/Source/bindings/core/v8/Microtask.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/Microtask.h b/third_party/WebKit/Source/bindings/core/v8/Microtask.h
|
| index 3e692db10ff7060efe46a7b523790861ed168b0f..4116fed9d52c7b88ae1ccf947e0c3c5304d37ff6 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/Microtask.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/Microtask.h
|
| @@ -49,14 +49,17 @@ namespace blink {
|
| // Debug-time checking of this is enforced via v8::MicrotasksScope.
|
| //
|
| // Calls of type (1) should generally go through ScriptController, as inspector
|
| -// instrumentation is needed. ScriptController allocates V8RecursionScope for you.
|
| +// instrumentation is needed. ScriptController allocates V8RecursionScope for
|
| +// you.
|
| //
|
| -// Calls of type (2) should always stack-allocate a v8::MicrotasksScope(kRunMicrtoasks)
|
| -// in the same block as the call into script.
|
| +// Calls of type (2) should always stack-allocate a
|
| +// v8::MicrotasksScope(kRunMicrtoasks) in the same block as the call into
|
| +// script.
|
| //
|
| -// Calls of type (3) should stack allocate a v8::MicrotasksScope(kDoNotRunMicrotasks) --
|
| -// this skips work that is spec'd to happen at the end of the outer-most
|
| -// script stack frame of calls into page script:
|
| +// Calls of type (3) should stack allocate a
|
| +// v8::MicrotasksScope(kDoNotRunMicrotasks) -- this skips work that is spec'd to
|
| +// happen at the end of the outer-most script stack frame of calls into page
|
| +// script:
|
| // http://www.whatwg.org/specs/web-apps/current-work/#perform-a-microtask-checkpoint
|
| class CORE_EXPORT Microtask {
|
| STATIC_ONLY(Microtask);
|
|
|