OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/inspector/InspectorTaskRunner.h" | 5 #include "core/inspector/InspectorTaskRunner.h" |
6 | 6 |
7 #include "wtf/Deque.h" | 7 #include "wtf/Deque.h" |
8 #include "wtf/ThreadingPrimitives.h" | 8 #include "wtf/ThreadingPrimitives.h" |
9 #include <v8.h> | 9 #include <v8.h> |
10 | 10 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 } | 73 } |
74 | 74 |
75 void InspectorTaskRunner::v8InterruptCallback(v8::Isolate*, void* data) | 75 void InspectorTaskRunner::v8InterruptCallback(v8::Isolate*, void* data) |
76 { | 76 { |
77 InspectorTaskRunner* runner = static_cast<InspectorTaskRunner*>(data); | 77 InspectorTaskRunner* runner = static_cast<InspectorTaskRunner*>(data); |
78 if (runner->m_ignoreInterrupts) | 78 if (runner->m_ignoreInterrupts) |
79 return; | 79 return; |
80 runner->runPendingTasks(); | 80 runner->runPendingTasks(); |
81 } | 81 } |
82 | 82 |
83 } | 83 } // namespace blink |
OLD | NEW |